~/*.local instead of ~/*.extra

This commit is contained in:
2026-02-17 16:17:20 +08:00
parent 0d7feada81
commit 95de82c2a0
4 changed files with 8 additions and 7 deletions

View File

@@ -22,6 +22,6 @@
[include]
path = ~/.git_aliases
[include]
path = ~/.git_aliases.extra
path = ~/.git_aliases.local
[include]
path = ~/.gitconfig.extra ; use this file to store other personal settings and aliases
path = ~/.gitconfig.local ; use this file to store other personal settings and aliases

View File

@@ -97,5 +97,5 @@ if ! shopt -oq posix; then
fi
[[ -f ~/.bash_aliases ]] && source ~/.bash_aliases
[[ -f ~/.bashrc.extra ]] && source ~/.bashrc.extra
[[ -f ~/.bashrc.local ]] && source ~/.bashrc.local
[[ -f ~/.profile ]] && source ~/.profile

View File

@@ -16,6 +16,7 @@ fi
### AAA ##########################################
export EDITOR="nano"
export JAVA_HOME="/usr/bin/"
export PATH="$PATH:/opt/nvim/bin/"
export PATH="$PATH:$HOME/.local/bin/"
@@ -40,8 +41,8 @@ export GOPATH="$HOME/.go"
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# The next line updates PATH for Yandex Cloud CLI.
[ -f "$HOME/yandex-cloud/path.bash.inc" ] && source "$HOME/yandex-cloud/path.bash.inc"
@@ -50,4 +51,4 @@ export NVM_DIR="$HOME/.nvm"
[ -f "$HOME/yandex-cloud/completion.zsh.inc" ] && source "$HOME/yandex-cloud/completion.zsh.inc"
# misc
[[ -f $HOME/.profile.extra ]] && source $HOME/.profile.extra
[[ -f $HOME/.profile.local ]] && source $HOME/.profile.local

View File

@@ -85,5 +85,5 @@ source $ZSH/oh-my-zsh.sh
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh
[[ -f ~/.bash_aliases ]] && source ~/.bash_aliases
[[ -f ~/.bashrc.extra ]] && source ~/.bashrc.extra
# [[ -f ~/.bashrc.local ]] && source ~/.bashrc.local
[[ -f ~/.profile ]] && source ~/.profile