bash profile: make a template for linux diff

This commit is contained in:
Gabriel Augendre 2024-02-19 19:50:56 +00:00
parent 36d8ad6e5d
commit 07abd061fe

View file

@ -1,5 +1,10 @@
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile [[ -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* [[ -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" [[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
{{- if eq .chezmoi.os "linux" }}
export PATH="$PATH:$HOME/.local/share/nvim-linux64/bin"
{{- end }}