aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/99-zoxide.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/99-zoxide.bash b/bash/99-zoxide.bash
new file mode 100644
index 0000000..093fa67
--- /dev/null
+++ b/bash/99-zoxide.bash
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+if which zoxide > /dev/null 2>&1 && [ ! "$FORCE_NORMAL_CD" = "yes" ] ; then
+ eval "$(zoxide init bash --cmd cd)"
+fi