.bash_profile execs into zsh when available (chsh doesn't persist
in containers). Shows amber warning if zsh not found.
.bashrc sources .bash_profile for non-login bash sessions (e.g.
iTerm2 profiles with 'bash' command).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Cache codespace repo and branch from gh cs list
- Inline fallback fetch when cache is missing
- Color codespace names in teal, branches in amber (non-default only)
- SSH hosts in teal
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add _copilot_tmux_wrap for tmux window renaming on copilot sessions
- Convert copilot/colby from aliases to wrapped functions
- Simplify cs() to use gh cs ssh interactive picker
- Background tmux automatic-rename on to avoid blocking
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace head -1 with sed -n '1p' across all install scripts to
prevent SIGPIPE when commands produce multi-line output. head closes
the pipe after reading line 1, causing the writer to receive SIGPIPE
which propagates via pipefail (exit 141). sed reads all input,
avoiding the broken pipe.
Remove install.d/26-bat.sh — bat is already installed and managed
via mise in 30-mise.sh.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Move glow install from apt/pacman/brew to mise (fixes Debian CI
failure where glow is not in default apt repos)
- Suppress verbose Poetry installer banner with tail -1 in mise
app install loop
- Add final log_pass to vim plugin script for consistent formatting
- Add version quote to cmatrix for completeness
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove three mechanisms that intentionally degraded the screensaver
over time, causing it to appear frozen after extended runtime:
- Brightness dimming curve (faded palette to 30% over ~15min)
- Projection framerate skip (reduced 3D updates from 24fps to 6fps)
- Deep sleep after 2hr (dropped to 1fps)
The clock drift and matrix text changes already provide adequate
OLED burn-in protection.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Replace BLUE/CYAN/CYAN_BOLD with TEAL/TEAL_BOLD (#2CB494) to match
the primary accent used across vim, zsh prompt, tmux, and fzf
- Update BLUE (#0C48CC -> #4068D4) then merge into TEAL
- Update RED (#F40404 -> #F88C14) to match vim/shell error orange
- Rename GREEN to grey-blue (#7290B8) for [PASS] messages
- Format all raw echo output with log functions or log_quote
- Suppress sudo prompt when credentials are already cached
- Add missing log_pass to 22-zsh.sh and 23-stow.sh
- Convert raw 'already installed' echos to log_skip (7 scripts)
- Pipe SSH key and mise output through log_quote
- Suppress noisy bat cache and mise WARN output
- Match fastfetch colors to palette (teal logo, grey-blue keys)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move apt-get update before the 'already installed' check so the
package index is always refreshed. Previously, on environments like
Codespaces where base packages are pre-installed, the update was
skipped entirely, causing downstream scripts (e.g. 23-stow.sh) to
fail with 'Unable to locate package'.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace external tab-name.sh with a tmux format string that
shows pane_current_path for shell processes and
pane_current_command otherwise, truncated to 15 chars.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Heartbeat now emits only a tmux fg color that interpolates
teal to gray based on activity score. Status-right supplies
the time display directly. Removes bar/pill/time rendering.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Drop pbcopy/xclip/xsel pipe hacks — OSC52 via set-clipboard
handles system clipboard automatically. Remove @condensed
status bar toggle, simplify status click to lock-session.
Add client-focus-in mouse reset workaround.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Emit \e[?25h in precmd to fix hidden cursor after abrupt SSH
disconnects or interrupted TUI applications.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add bat to mise tool list, rebuild bat theme cache after install
to keep delta syntax themes in sync. Handle delta version check
failure gracefully.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE before sourcing the plugin
so the style takes effect on first load. Add subtle green tint
to path syntax highlighting.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
core.pager now checks for delta and falls back to less -R,
avoiding errors in environments where delta is not available.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace inline bat/head preview commands with the universal
preview script in the f() alias, file picker, and grep picker.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Show friendly codespace name (without trailing random ID) in tmux tabs,
prefixed with cs:. Add ctrl-n to session widget to start a new copilot
session, and improve header labels and field display.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add heartbeat.sh that tracks session active time using three native
tmux signals: client input (+5), window output (+2), and copy mode
(+2), with -1 decay per tick. Score drives a block bar indicator
and accumulated active time counter. Resets on tmux server restart.
Status bar updates:
- Heartbeat pill with pressure bar right of clock
- Responsive breakpoints: hide network/battery <120 cols, date <80
- Click clock/date to toggle condensed view
- Click heartbeat to instant-lock session
- Static colon in clock (replaces shell-based blinker)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use 256-color codes for bell-style and mode-style to work around
tmux 3.6 hex color parsing bug that broke rendering and click targets.
Fix terminal-overrides accumulating on reload. Exit copy mode after
mouse selection. Update prefix indicator to amber.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add git aliases: f (fetch), p (pull) and shell aliases: gf, gp
- Replace all #F40404 (red) with #F88C14 (amber) across prompt, gitconfig,
vim, bat theme, and tmux scripts for colourblind-friendly palette
- Standardise hex case to uppercase throughout
- Unify #728cb8 → #7290B8 (fix blue inconsistency)
- Replace unique #8787AF with palette #7290B8 in gitconfig
- Remove unused red colour definition from prompt.zsh
- Update dark diff backgrounds from red-tinted to amber-tinted
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Debian's apt package installs the binary as 'batcat' due to a naming
conflict. Add a symlink to /usr/local/bin/bat after apt install so the
dotfiles can reference 'bat' consistently across all platforms.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Store the base PATH alongside the cached result so the cache is
only used when the pre-modification PATH still matches. This
prevents stale entries when the shell inherits a different base
PATH (e.g. inside tmux or after system updates).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add vim-gitgutter, vim-commentary, vim-surround via install
script
- Rebind git log widget from Ctrl+A to Ctrl+T (tmux prefix
clash)
- Add date, time, and battery indicator to tmux status
bar
- Set tmux clock colour to teal
Co-authored-by: Copilot
<223556219+Copilot@users.noreply.github.com>