feat(shell): expand tricks.fish with system aliases, bat man pages, and done plugin #23

Merged
rootiest merged 1 commits from feat/tricks-system-aliases-and-done into main 2026-05-29 18:08:11 +00:00
Owner

Summary

  • System aliases added to conf.d/tricks.fish: dot-navigation (.. through ......), color-forced grep/fgrep/egrep/dir/vdir, safety wrappers (cp -i, mv -i, rm -i), archive shortcuts (tarnow, untar), wget -c resume, tb (termbin pipe), and jctl (journalctl errors)
  • bat man pages: MANPAGER/MANROFFOPT set in tricks.fish so man pages render through bat when it's installed
  • Done notification plugin (conf.d/done.fish v1.19.1): desktop notifications for commands running ≥ 10 s when the terminal is unfocused; urgency set to low
  • Memory helpers: psmem and psmem10 functions for quick process memory inspection
  • PATH setup migrated from manual contains/set -p to fish_add_path (dedup-aware)
  • config.fish: explicitly re-sources tricks.fish after the CachyOS base config to ensure our overrides apply
  • README synced with all new functions, aliases, and integrations

Manual Verification

  • Open a new Fish shell and confirm .. navigates to the parent directory
  • Run man ls and verify the output is syntax-highlighted (bat rendering)
  • Run a long command (e.g. sleep 11) and switch away from the terminal — confirm a desktop notification fires when it finishes
  • Run psmem10 and confirm a process list sorted by memory usage is printed
  • Run tb < /etc/hostname and confirm a termbin URL is returned
## Summary - **System aliases** added to `conf.d/tricks.fish`: dot-navigation (`..` through `......`), color-forced `grep`/`fgrep`/`egrep`/`dir`/`vdir`, safety wrappers (`cp -i`, `mv -i`, `rm -i`), archive shortcuts (`tarnow`, `untar`), `wget -c` resume, `tb` (termbin pipe), and `jctl` (journalctl errors) - **bat man pages**: `MANPAGER`/`MANROFFOPT` set in `tricks.fish` so man pages render through `bat` when it's installed - **Done notification plugin** (`conf.d/done.fish` v1.19.1): desktop notifications for commands running ≥ 10 s when the terminal is unfocused; urgency set to `low` - **Memory helpers**: `psmem` and `psmem10` functions for quick process memory inspection - **PATH setup** migrated from manual `contains/set -p` to `fish_add_path` (dedup-aware) - **`config.fish`**: explicitly re-sources `tricks.fish` after the CachyOS base config to ensure our overrides apply - **README** synced with all new functions, aliases, and integrations ## Manual Verification - [x] Open a new Fish shell and confirm `..` navigates to the parent directory - [x] Run `man ls` and verify the output is syntax-highlighted (bat rendering) - [x] Run a long command (e.g. `sleep 11`) and switch away from the terminal — confirm a desktop notification fires when it finishes - [x] Run `psmem10` and confirm a process list sorted by memory usage is printed - [x] Run `tb < /etc/hostname` and confirm a termbin URL is returned
rootiest added 1 commit 2026-05-29 18:04:44 +00:00
- Add system aliases: dot-navigation (.., ..., etc.), color overrides for
  grep/dir/vdir, safety wrappers (cp/mv/rm -i), archive shortcuts
  (tarnow, untar), wget resume, tb (termbin), and jctl
- Set MANPAGER/MANROFFOPT to render man pages through bat when available
- Configure franciscolourenco/done notification plugin settings
  (__done_min_cmd_duration=10s, __done_notification_urgency_level=low)
- Add psmem/psmem10 memory-monitoring helpers
- Switch PATH setup to fish_add_path (handles deduplication automatically)
- Add conf.d/done.fish (done plugin v1.19.1)
- Source tricks.fish explicitly after CachyOS base config in config.fish
- Sync README with all new functions, aliases, and integrations
rootiest merged commit 9bff3f3c69 into main 2026-05-29 18:08:11 +00:00
rootiest deleted branch feat/tricks-system-aliases-and-done 2026-05-29 18:08:12 +00:00
Sign in to join this conversation.