From f9b2a74d86ab2af5ca7554763a0d1bdc9b04c8de Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 20 Apr 2022 00:35:48 +0200 Subject: [PATCH] Update path with rust toolchain --- dot_config/fish/private_config.fish.tmpl | 2 +- private_dot_bash_profile | 1 + private_dot_bashrc | 1 + private_dot_profile | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index c4ad6b7..3290888 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -1,4 +1,4 @@ -fish_add_path /opt/homebrew/bin $HOME/.local/bin +fish_add_path /opt/homebrew/bin $HOME/.local/bin $HOME/.cargo/bin set -gx VIRTUAL_ENV_DISABLE_PROMPT 1 set -gx PYENV_ROOT ~/.pyenv set -gx PIPENV_PYTHON ~/.pyenv/shims/python diff --git a/private_dot_bash_profile b/private_dot_bash_profile index dc4de03..e9a32c5 100644 --- a/private_dot_bash_profile +++ b/private_dot_bash_profile @@ -2,3 +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" diff --git a/private_dot_bashrc b/private_dot_bashrc index 846051d..075f42b 100644 --- a/private_dot_bashrc +++ b/private_dot_bashrc @@ -5,3 +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" diff --git a/private_dot_profile b/private_dot_profile index cc4c8d3..1389499 100644 --- a/private_dot_profile +++ b/private_dot_profile @@ -3,3 +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"