init commit

This commit is contained in:
2026-06-11 11:01:51 +05:30
commit 72e90c145e
36 changed files with 2380 additions and 0 deletions

8
fish/functions/y.fish Normal file
View File

@@ -0,0 +1,8 @@
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if read -z cwd <"$tmp"; and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end