mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-09 04:09:38 +00:00
zsh: only try to add cargo path if exists
This commit is contained in:
parent
28697d312c
commit
ac83d1547f
@ -8,7 +8,7 @@ export ZSH="$HOME/.local/share/ohmyzsh"
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Load cargo env
|
||||
if [ -d "$CARGO_HOME" ]; then
|
||||
if [ -d "$CARGO_HOME/env" ]; then
|
||||
. "$CARGO_HOME/env"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user