1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-24 00:33:39 +08:00
ohmyzsh/plugins/zoxide/zoxide.plugin.zsh

6 lines
202 B
Bash
Raw Normal View History

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