diff --git a/private_dot_bash_profile.tmpl b/private_dot_bash_profile.tmpl index 47705bd..a9a5d1d 100644 --- a/private_dot_bash_profile.tmpl +++ b/private_dot_bash_profile.tmpl @@ -1,9 +1,7 @@ [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile +[[ -s "$HOME/.bashrc" ]] && source "$HOME/.bashrc" # Load the default .bashrc -[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* -[[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" - -export PATH="$PATH:$HOME/bin:$HOME/.local/bin" +export PATH="$PATH:$HOME/bin:$HOME/.local/bin:$HOME/.local/go/bin" {{- if eq .chezmoi.os "linux" }} export PATH="$PATH:$HOME/.local/share/nvim-linux64/bin" {{- end }} diff --git a/private_dot_bashrc b/private_dot_bashrc index cfafcc0..4e1ce6d 100644 --- a/private_dot_bashrc +++ b/private_dot_bashrc @@ -1,11 +1,8 @@ -export PATH=$PATH:$HOME/bin:$HOME/.local/go/bin export EDITOR=nvim export LC_ALL=fr_FR.UTF-8 [ command -v mise &> /dev/null ] && eval "$(mise activate bash)" [ -f ~/.fzf.bash ] && source ~/.fzf.bash -[[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" - [ -f ~/.work.bash ] && source ~/.work.bash