mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Add rofi, update fish cfg/scripts, update nvim cfg, update wezterm cfg
This commit is contained in:
parent
e801f0a680
commit
6e8bb638ee
24 changed files with 104 additions and 77 deletions
8
.config/fish/functions/m.fish
Normal file
8
.config/fish/functions/m.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function m --wraps yazi
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
cd -- "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue