aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2020-07-24 07:24:51 +0200
committerDavid Runge <dave@sleepmap.de>2020-07-24 07:24:51 +0200
commit2a7d9c1d4d533016f7bfda1271d344d4bd38eca4 (patch)
tree0b445e5e440f2e61fd860cd2016be663a0278b91
parenta10832a4ec75dc3844df1ea4b1bbeceb2e4b63c4 (diff)
downloaddotfiles-2a7d9c1d4d533016f7bfda1271d344d4bd38eca4.tar.gz
dotfiles-2a7d9c1d4d533016f7bfda1271d344d4bd38eca4.tar.bz2
dotfiles-2a7d9c1d4d533016f7bfda1271d344d4bd38eca4.tar.xz
dotfiles-2a7d9c1d4d533016f7bfda1271d344d4bd38eca4.zip
Add cargo bin to PATH
.zsh.before/path.zsh: If .cargo/bin exists, add it to PATH.
-rw-r--r--.zsh.before/path.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.zsh.before/path.zsh b/.zsh.before/path.zsh
index 4db5668..21e36e6 100644
--- a/.zsh.before/path.zsh
+++ b/.zsh.before/path.zsh
@@ -1,3 +1,5 @@
+# cargo
+[ -d "${HOME}/.cargo/bin" ] && PATH="${HOME}/.cargo/bin:${PATH}"
# pyenv
[ -d "${HOME}/.local/bin" ] && PATH="${HOME}/.local/bin:${PATH}"
[ -d "${HOME}/.pyenv/shims" ] && PATH="${HOME}/.pyenv/shims:${PATH}"