initial commit

This commit is contained in:
aminnairi
2025-11-11 14:11:20 +01:00
parent 14ecb73aa5
commit 3bed3b3db3
6 changed files with 2530 additions and 0 deletions
+8
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