dotfiles/zsh/.local/share/oh-my-zsh/.oh-my-zsh/plugins/zoxide/zoxide.plugin.zsh

5 lines
202 B
Bash

if (( $+commands[zoxide] )); then
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