fix for yazi

This commit is contained in:
Hannes
2026-02-08 23:34:36 +01:00
parent ac0d48da99
commit 19a4d4d073
5 changed files with 13 additions and 39 deletions

View File

@@ -61,9 +61,6 @@ if test -e /usr/bin/ollama
alias llama3='ollama run llama3' # Start the LLama Chat
end
if test -e /usr/bin/sudo-rs
alias sudo='sudo-rs'
end
if test -e /usr/bin/btop
alias tasks='btop'
@@ -193,7 +190,7 @@ if test -e $HOME/.config/sway/config
alias sway_config='nano $HOME/.config/sway/config' # Open the fish Config in Text editor
end
if test -e /usr/bin/yazi
if test -e /usr/bin/yazi -o -e /usr/local/bin/yazi
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"