Commit Graph
6 Commits
Author SHA1 Message Date
alvinlollo 49e00110bf Fix bat.sh config target, theme name, MANPAGER quoting, shell detection
- set -euo pipefail with audit: every tolerated failure is guarded
- write --theme to bat's config file, not into the themes/ directory (was: append to a directory, failed silently)
- download and configure the same theme (Catppuccin Mocha; was: Macchiato downloaded, Mocha configured)
- preserve MANPAGER quoting via printf (was: collapsed to export MANPAGER=bat -plman, invalid when sourced)
- detect shell via $SHELL instead of $0 (was: always matched *) and reported 'Unsupported shell: bat.sh')
- fish branch appends fish syntax, no more exec of a mangled command string
- check pacman/apt bat install results (was: unchecked, continued on failure)
- idempotent appends (grep guard), tty-guarded fish warning
- remove broken rc-sourcing block (sourced .zshrc/config.fish from bash)
2026-10-08 14:04:49 +11:00
alvinlollo a9b7e698b9 Check apt and pacman install failures in bat script 2026-09-30 14:34:26 +10:00
alvinlollo 290c747a10 Fix bat script apt and pacman dependency install 2026-09-30 13:29:21 +10:00
alvinlollo 622d6f5ace Use shelly instead of pacman 2026-08-10 12:17:54 +10:00
alvinlollo 3020201a9d Add more depenencies and remove gdoc.vim 2026-07-12 18:00:55 +10:00
alvinlollo c4c26404b1 Add bat install with catppucchin 2026-07-12 17:51:32 +10:00