summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.zshrc b/home/.zshrc
index 4fe6d37..9b5181f 100644
--- a/home/.zshrc
+++ b/home/.zshrc
@@ -141,12 +141,12 @@ zstyle ':completion:*' special-dirs true
# add ~/bin to path
if ! [[ $PATH =~ "${HOME}/bin" ]]; then
- PATH="${PATH}:${HOME}/bin"
+ PATH="${HOME}/bin:${PATH}"
fi
-# add ~/.carco/bin to path
+# add ~/.cargo/bin to path
if ! [[ $PATH =~ "${HOME}/.cargo/bin" ]]; then
- PATH="${PATH}:${HOME}/.cargo/bin"
+ PATH="${HOME}/.cargo/bin:${PATH}"
fi
exec_exists() { type -p $1 &>/dev/null }