Merge pull request #1986 from ajeetdsouza/zoxide

plugin: add zoxide
pull/1987/head
Noah Gorny 2021-11-24 21:43:39 +02:00 committed by GitHub
commit 8784ed2785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/ruby.plugin.bash
plugins/available/textmate.plugin.bash plugins/available/textmate.plugin.bash
plugins/available/xterm.plugin.bash plugins/available/xterm.plugin.bash
plugins/available/zoxide.plugin.bash
# tests # 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