From 2a7d9c1d4d533016f7bfda1271d344d4bd38eca4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 24 Jul 2020 07:24:51 +0200 Subject: Add cargo bin to PATH .zsh.before/path.zsh: If .cargo/bin exists, add it to PATH. --- .zsh.before/path.zsh | 2 ++ 1 file changed, 2 insertions(+) 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}" -- cgit v1.2.3-70-g09d2