diff options
author | Josh Rahm <rahm@google.com> | 2024-02-22 10:25:55 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2024-02-22 10:25:55 -0700 |
commit | f221e37a71ff46176028b4b93e9e02ef7af19fc8 (patch) | |
tree | 46a6e21963c59c0ca519bd473726a12d85b130ef | |
parent | 19015cd04b697abdc3f522f4789e311812eeb2ac (diff) | |
download | zshrcd-f221e37a71ff46176028b4b93e9e02ef7af19fc8.tar.gz zshrcd-f221e37a71ff46176028b4b93e9e02ef7af19fc8.tar.bz2 zshrcd-f221e37a71ff46176028b4b93e9e02ef7af19fc8.zip |
Add zoxide if present
-rw-r--r-- | 99-plugins.zsh | 5 |
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 |