Muh dotfiles

This commit is contained in:
2025-05-10 10:18:28 +03:00
commit 0f4558597e
84 changed files with 4306 additions and 0 deletions

View File

@ -0,0 +1,11 @@
function y --wraps 'yazi' --description 'TUI file manager'
set -l tmp (mktemp -t 'yazi_cwd.XXX')
yazi --cwd-file="$tmp" $argv
set -l cwd (command cat -- "$tmp")
and test -n "$cwd"
and test "$cwd" != "$PWD"
and builtin cd -- "$cwd"
rm -f -- "$tmp"
end