Adds conf.d/tricks.fish: sources ~/.fish_profile, prepends ~/.local/bin and ~/Applications/depot_tools to PATH, registers bang-bang (!!/!$) key bindings, overrides history to show timestamps, and provides a backup utility
Adds functions/copy.fish: smarter cp wrapper that strips trailing / from source directories before cp -r, fixing a CachyOS-specific broken-copy quirk
Refactors several if ... end blocks in config.fish to single-line type -q ...; and ... style, and explicitly sources copy.fish on startup
Syncs README.md to document all new utilities (copy, backup, history override) and adds tricks.fish to the structure table
Manual Verification
Open a new Fish shell and confirm ~/.local/bin is in $PATH (echo $PATH | tr ' ' '\n' | grep local)
Type ls /tmp then type !! and confirm the previous command is inserted and runs
Run backup ~/.config/fish/config.fish and confirm config.fish.bak is created alongside the original
Run copy ~/some-dir /tmp/ and confirm the directory is copied without a trailing-slash artifact (i.e. /tmp/some-dir not /tmp/some-dir/)
Run history and confirm each entry is prefixed with a YYYY-MM-DD HH:MM:SS timestamp
## Summary
- Adds `conf.d/tricks.fish`: sources `~/.fish_profile`, prepends `~/.local/bin` and `~/Applications/depot_tools` to `PATH`, registers bang-bang (`!!`/`!$`) key bindings, overrides `history` to show timestamps, and provides a `backup` utility
- Adds `functions/copy.fish`: smarter `cp` wrapper that strips trailing `/` from source directories before `cp -r`, fixing a CachyOS-specific broken-copy quirk
- Refactors several `if ... end` blocks in `config.fish` to single-line `type -q ...; and ...` style, and explicitly sources `copy.fish` on startup
- Syncs `README.md` to document all new utilities (`copy`, `backup`, `history` override) and adds `tricks.fish` to the structure table
## Manual Verification
- [x] Open a new Fish shell and confirm `~/.local/bin` is in `$PATH` (`echo $PATH | tr ' ' '\n' | grep local`)
- [x] Type `ls /tmp` then type `!!` and confirm the previous command is inserted and runs
- [x] Run `backup ~/.config/fish/config.fish` and confirm `config.fish.bak` is created alongside the original
- [x] Run `copy ~/some-dir /tmp/` and confirm the directory is copied without a trailing-slash artifact (i.e. `/tmp/some-dir` not `/tmp/some-dir/`)
- [x] Run `history` and confirm each entry is prefixed with a `YYYY-MM-DD HH:MM:SS` timestamp
Adds conf.d/tricks.fish (PATH additions for ~/.local/bin and depot_tools,
bang-bang key bindings, history timestamp override, backup utility) and
functions/copy.fish (smarter cp wrapper that strips trailing slashes from
source directories, fixing a CachyOS-specific cp quirk).
Updates config.fish to explicitly source copy.fish on startup and refactors
several conditional blocks to single-line style for consistency. Syncs
README.md to document all new utilities.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
conf.d/tricks.fish: sources~/.fish_profile, prepends~/.local/binand~/Applications/depot_toolstoPATH, registers bang-bang (!!/!$) key bindings, overrideshistoryto show timestamps, and provides abackuputilityfunctions/copy.fish: smartercpwrapper that strips trailing/from source directories beforecp -r, fixing a CachyOS-specific broken-copy quirkif ... endblocks inconfig.fishto single-linetype -q ...; and ...style, and explicitly sourcescopy.fishon startupREADME.mdto document all new utilities (copy,backup,historyoverride) and addstricks.fishto the structure tableManual Verification
~/.local/binis in$PATH(echo $PATH | tr ' ' '\n' | grep local)ls /tmpthen type!!and confirm the previous command is inserted and runsbackup ~/.config/fish/config.fishand confirmconfig.fish.bakis created alongside the originalcopy ~/some-dir /tmp/and confirm the directory is copied without a trailing-slash artifact (i.e./tmp/some-dirnot/tmp/some-dir/)historyand confirm each entry is prefixed with aYYYY-MM-DD HH:MM:SStimestamp