diff options
author | Starfall <us@starfall.systems> | 2021-10-19 11:16:02 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2021-10-19 11:16:02 -0500 |
commit | de775376f6a9b13f1100f7719ea1ea62f6371f56 (patch) | |
tree | 3a60641bcdfd05b30e437762bbb3860a3b9d2043 /.config/zsh | |
parent | 2f1134bccb19f8333b538bbe9b1205649040f2cc (diff) |
zsh/rust: load cargo env in .zshenv
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshenv | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index ea0133d..70bf511 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -6,3 +6,5 @@ export GPG_TTY=$TTY if [[ $INTELLIJ -eq 1 ]]; then export PATH=/usr/local/bin:/usr/bin:$PATH fi + +[[ -f "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" |