aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-03-03 10:59:23 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-03-03 10:59:23 +0100
commit86d5b40c238ea56ba7c884b0a8d829d4ad90b3b3 (patch)
tree7d0f1fb999e3edfa12b31b7df335238cf57b51cc /bash
parent38f27b1f5713977c65f77115f8ec5160d3640d0f (diff)
downloaddotfiles-86d5b40c238ea56ba7c884b0a8d829d4ad90b3b3.tar.gz
zoxide
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