Updated config

This commit is contained in:
2025-01-20 13:47:32 +01:00
parent e0b8d3886b
commit ff6d581fa5
14 changed files with 77 additions and 29 deletions

View File

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