plugin: add zoxide

pull/1986/head
Ajeet D'Souza 2021-11-24 16:36:38 +05:30
parent 447c89aa0e
commit a89f2f8f13
2 changed files with 10 additions and 0 deletions

View File

@ -107,6 +107,7 @@ plugins/available/rbenv.plugin.bash
plugins/available/ruby.plugin.bash
plugins/available/textmate.plugin.bash
plugins/available/xterm.plugin.bash
plugins/available/zoxide.plugin.bash
# tests
#

View File

@ -0,0 +1,9 @@
# shellcheck shell=bash
cite about-plugin
about-plugin 'zoxide is a smarter cd command for your shell.'
if _command_exists zoxide; then
eval "$(zoxide init bash)"
else
_log_error 'zoxide not found, please install it from https://github.com/ajeetdsouza/zoxide'
fi