diff --git a/.zshenv b/.zshenv deleted file mode 100644 index c2f3182..0000000 --- a/.zshenv +++ /dev/null @@ -1 +0,0 @@ -. "$HOME/.cargo/env" diff --git a/.zshrc b/.zshrc index 86d6036..e7cbdf4 100644 --- a/.zshrc +++ b/.zshrc @@ -212,6 +212,10 @@ export PS2="> " [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh fpath+=${ZDOTDIR:-~}/.zsh_functions +if [ -f $HOME/.cargo/env ] ; then + . "$HOME/.cargo/env" +fi + # Detect prompt color case "$TERM" in xterm-color|*-256color) color_prompt=yes;;