plugin: add zoxide
This commit is contained in:
9
plugins/available/zoxide.plugin.bash
Normal file
9
plugins/available/zoxide.plugin.bash
Normal 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
|
||||
Reference in New Issue
Block a user