AutoYADM commit: 2025-03-27 19:50:17

This commit is contained in:
Daniel Fichtinger 2025-03-27 19:50:17 -04:00
parent ec7a14771c
commit 471e3907b1
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,8 @@
function y
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

View file

@ -61,3 +61,4 @@
.config/chawan
.config/waybar
.config/fastfetch
.config/fish