fix for yazi
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user