Fix missing check for cargo env before loading

This commit is contained in:
Gabriel Augendre 2023-01-30 17:23:18 +01:00
parent 3f4255f333
commit 6b05582456
3 changed files with 3 additions and 3 deletions

View file

@ -2,4 +2,4 @@
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
. "$HOME/.cargo/env"
[[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"

View file

@ -5,4 +5,4 @@ export LC_ALL=fr_FR.UTF-8
export PATH="$PATH:$HOME/.rvm/bin:$HOME/Projects/golang/bin"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
. "$HOME/.cargo/env"
[[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"

View file

@ -3,4 +3,4 @@
export PATH="$PATH:$HOME/.rvm/bin"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
. "$HOME/.cargo/env"
[[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"