From 46c70e9973fb773412cb36dbd8299f55039022ea Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 12 Jun 2024 20:46:18 +0300 Subject: [PATCH] add bash aliases --- ~/Bash/.bashrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/~/Bash/.bashrc b/~/Bash/.bashrc index d62e39a..7c9e896 100644 --- a/~/Bash/.bashrc +++ b/~/Bash/.bashrc @@ -2,6 +2,7 @@ [[ $- != *i* ]] && return # History settings ######################################## +shopt -s histappend HISTCONTROL=ignoreboth HISTSIZE=1000 HISTFILESIZE=2000 @@ -40,6 +41,12 @@ if command -v shards &> /dev/null; then fi ########################################################### +# Alias definitions ####################################### +if [ -f ~/.bash_aliases ]; then + source $HOME/.bash_aliases +fi +########################################################### + # NVM (Node.js version manager) ########################### if [ -d "$HOME/.nvm" ]; then export NVM_DIR="$HOME/.nvm"