Files
oh-my-bash/plugins/zoxide/zoxide.plugin.sh

9 lines
235 B
Bash
Raw Normal View History

2021-06-14 01:30:12 +05:30
#!/usr/bin/env bash
# Check if zoxide is installed
if _omb_util_command_exists zoxide; then
2021-06-14 01:30:12 +05:30
eval "$(zoxide init bash)"
else
echo '[oh-my-bash] zoxide not found, please install it from https://github.com/ajeetdsouza/zoxide'
fi