Updated config

This commit is contained in:
Eduard Urbach 2025-01-20 13:47:32 +01:00
parent c0fe9218c6
commit 23b497b32c
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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