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
+18
View File
@@ -100,6 +100,15 @@ function _fish_deps_install
set -a methods special-paru
set -a method_labels "build from AUR (makepkg)"
end
case yay-build
if type -q paru
set -a methods special-paru-yay
set -a method_labels "paru -S yay"
end
if type -q pacman
set -a methods special-yay
set -a method_labels "build from AUR (makepkg)"
end
case pipx
if type -q pipx
set -a methods special-pipx
@@ -202,6 +211,15 @@ function _fish_deps_install
end
case special-yay-paru
yay -S --noconfirm paru
case special-paru-yay
paru -S --noconfirm yay
case special-yay
set -l _build_dir (mktemp -d)
git clone https://aur.archlinux.org/yay.git $_build_dir
and pushd $_build_dir
and makepkg -si --noconfirm
and popd
rm -rf $_build_dir
case special-paru
set -l _build_dir (mktemp -d)
git clone https://aur.archlinux.org/paru.git $_build_dir