mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-06-06 17:30:50 +00:00
Check if zoxide is installed in shell plugins
This commit is contained in:
parent
a95e3c7207
commit
273b6ed1cf
|
@ -1 +1,5 @@
|
|||
zoxide init fish | source
|
||||
if command -sq zoxide
|
||||
zoxide init fish | source
|
||||
else
|
||||
echo 'zoxide: command not found, please install it from https://github.com/ajeetdsouza/zoxide'
|
||||
end
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
eval "$(zoxide init zsh)"
|
||||
if (( $+commands[zoxide] )); then
|
||||
eval "$(zoxide init zsh)"
|
||||
else
|
||||
echo 'zoxide: command not found, please install it from https://github.com/ajeetdsouza/zoxide'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user