From 95de82c2a0da84ac634775c3df80c92feddbb6fc Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Tue, 17 Feb 2026 16:17:20 +0800 Subject: [PATCH] ~/*.local instead of ~/*.extra --- git/.gitconfig | 4 ++-- shell/.bashrc | 2 +- shell/.profile | 7 ++++--- shell/.zshrc | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/git/.gitconfig b/git/.gitconfig index 208789a..21ef1c7 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -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 diff --git a/shell/.bashrc b/shell/.bashrc index aef041b..16c41e3 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -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 diff --git a/shell/.profile b/shell/.profile index e9b90ba..cdcc906 100644 --- a/shell/.profile +++ b/shell/.profile @@ -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 diff --git a/shell/.zshrc b/shell/.zshrc index 8b714ad..d9a396c 100644 --- a/shell/.zshrc +++ b/shell/.zshrc @@ -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