Skip to content

Commit 8784ed2

Browse files
authored
Merge pull request #1986 from ajeetdsouza/zoxide
plugin: add zoxide
2 parents 447c89a + a89f2f8 commit 8784ed2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

clean_files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ plugins/available/rbenv.plugin.bash
107107
plugins/available/ruby.plugin.bash
108108
plugins/available/textmate.plugin.bash
109109
plugins/available/xterm.plugin.bash
110+
plugins/available/zoxide.plugin.bash
110111

111112
# tests
112113
#

plugins/available/zoxide.plugin.bash

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# shellcheck shell=bash
2+
cite about-plugin
3+
about-plugin 'zoxide is a smarter cd command for your shell.'
4+
5+
if _command_exists zoxide; then
6+
eval "$(zoxide init bash)"
7+
else
8+
_log_error 'zoxide not found, please install it from https://github.com/ajeetdsouza/zoxide'
9+
fi

0 commit comments

Comments
 (0)