adding yazi, refactor emacs package config, more

This commit is contained in:
Matt Nish-Lapidus 2025-01-31 23:40:31 -05:00
parent fe95c5af51
commit 29f9ba670f
6 changed files with 208 additions and 115 deletions

View file

@ -0,0 +1,10 @@
#!/usr/bin/env fish
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