feat(shell): add poke function and update fish-deps for ov and yay

- Add poke: touch with automatic parent directory creation; prints
  colored notice when new dirs are created; handles multiple file args
- Refactor config.fish CachyOS override block: consolidate copy into
  the erase+source loop alongside ls/lt/cleanup
- fish-deps: replace most with ov (cargo crate + AUR pkg); add yay as
  rec dep with yay-build special (paru -S yay or AUR makepkg); add
  update handling for yay-build in _fish_deps_update
- README: document poke in Directory & File Listing table
This commit is contained in:
2026-06-03 22:52:49 -04:00
parent 40021dcc21
commit c97c2290eb
6 changed files with 76 additions and 38 deletions
+15
View File
@@ -28,6 +28,21 @@ function _fish_deps_update
set -l pm_pkg $_fdc_pm[$i]
set -l special $_fdc_special[$i]
# yay: update via paru if available, else system PM
if test "$special" = yay-build
if type -q paru
echo "Updating $bin..."
paru -S --noconfirm yay
set updated_any 1
else if test -n "$pm_pkg"; and test -n "$pm"
echo "Updating $bin..."
_fish_deps_pm_upgrade $pm_pkg
set updated_any 1
end
set i (math $i + 1)
continue
end
# cargo: update via rustup
if test "$special" = rustup-installer
if type -q rustup