feat(zoxide): add option to override cmd (#12218)

This commit is contained in:
Julian 2024-02-19 10:29:37 +01:00 committed by GitHub
commit 15ffbdd346
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,5 @@
if (( $+commands[zoxide] )); then
eval "$(zoxide init zsh)"
eval "$(zoxide init --cmd ${ZOXIDE_CMD_OVERRIDE:-z} zsh)"
else
echo '[oh-my-zsh] zoxide not found, please install it from https://github.com/ajeetdsouza/zoxide'
fi