mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-23 06:58:04 +01:00
cleanup duplicates between bash profile files
This commit is contained in:
parent
9b57ffd20b
commit
d2dc83f0a8
2 changed files with 2 additions and 7 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue