summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-03-08 12:23:26 +0100
committerjohannst <johannes.stoelp@gmail.com>2020-03-08 12:23:26 +0100
commit8ec4b79cf57f731a77be8a92e0ea9fb3171df535 (patch)
treeefde82c7671997cab51c1b516207a28c59f2547a
parente0d60aadd8cf99b89963a54c2dca9d2d892cf8c5 (diff)
downloaddotfiles-8ec4b79cf57f731a77be8a92e0ea9fb3171df535.tar.gz
dotfiles-8ec4b79cf57f731a77be8a92e0ea9fb3171df535.zip
added zoxide
-rwxr-xr-xinstall_rust_tools1
-rw-r--r--zshrc3
2 files changed, 4 insertions, 0 deletions
diff --git a/install_rust_tools b/install_rust_tools
index 558da20..e5e688d 100755
--- a/install_rust_tools
+++ b/install_rust_tools
@@ -13,6 +13,7 @@ tools+=("bat")
tools+=("exa")
tools+=("fd-find")
tools+=("ripgrep")
+tools+=("zoxide")
for tool in ${tools[@]}; do
installed_vers=$(cargo install --list | grep "^$tool" | awk '{ print $2 }' | sed 's/[v:]//g')
diff --git a/zshrc b/zshrc
index 5ede57b..8f320eb 100644
--- a/zshrc
+++ b/zshrc
@@ -33,6 +33,9 @@ function zshPlug() {
zshPlug 'zsh-users/zsh-autosuggestions'
zshPlug 'chriskempson/base16-shell'
+if which zoxide &> /dev/null; then
+ zshPlug 'ajeetdsouza/zoxide'
+fi
# Key definition