aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-02-22 10:25:55 -0700
committerJosh Rahm <rahm@google.com>2024-02-22 10:25:55 -0700
commitf221e37a71ff46176028b4b93e9e02ef7af19fc8 (patch)
tree46a6e21963c59c0ca519bd473726a12d85b130ef
parent19015cd04b697abdc3f522f4789e311812eeb2ac (diff)
downloadzshrcd-f221e37a71ff46176028b4b93e9e02ef7af19fc8.tar.gz
zshrcd-f221e37a71ff46176028b4b93e9e02ef7af19fc8.tar.bz2
zshrcd-f221e37a71ff46176028b4b93e9e02ef7af19fc8.zip
Add zoxide if present
-rw-r--r--99-plugins.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/99-plugins.zsh b/99-plugins.zsh
index 4f10476..18afb47 100644
--- a/99-plugins.zsh
+++ b/99-plugins.zsh
@@ -14,4 +14,9 @@ else
source ~/.zshrc.d/plugins/fast-syntax-highlighting/F-Sy-H.plugin.zsh
fi
+if ( which zoxide &> /dev/null ) ; then
+ eval "$(zoxide init zsh)"
+ alias cd=z
+fi
+
/bin/true