feat(shell): expand tricks.fish with system aliases, bat man pages, and done plugin
- 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
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
# ──────────────────────── Source CachyOS configs ────────────────────────
|
||||
if test -f /usr/share/cachyos-fish-config/cachyos-config.fish
|
||||
source /usr/share/cachyos-fish-config/cachyos-config.fish
|
||||
# Source our tricks over the cachyOS config
|
||||
test -f "$__fish_config_dir/conf.d/tricks.fish"
|
||||
and source "$__fish_config_dir/conf.d/tricks.fish"
|
||||
# CachyOS defines aliases for ls/lt/cleanup that shadow our function files.
|
||||
# Erase them and immediately source our versions.
|
||||
for _fname in ls lt cleanup
|
||||
|
||||
Reference in New Issue
Block a user