X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.bashrc;h=c1d88ed8a3dd4ef90afbb9a693c923acc28c81bd;hp=14eeaec3b31bc792485a9d2d22d7137ce7c70704;hb=a8f2d98db8d69e9361e0c175e29e0ee743d1dfe6;hpb=e2dd4852fbee0fd13b4c20197acefee175f1cdc9 diff --git a/.bashrc b/.bashrc index 14eeaec..c1d88ed 100644 --- a/.bashrc +++ b/.bashrc @@ -31,9 +31,6 @@ if [ "$HISTFILE" = "$HOME/.bash_history" ]; then unset HISTFILE fi -# append to the history file, don't overwrite it -shopt -s histappend - # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize @@ -42,6 +39,9 @@ shopt -s checkwinsize # match all files and zero or more directories and subdirectories. #shopt -s globstar +# append to the history file, don't overwrite it +shopt -s histappend + [ "`type -t ls`" = alias ] && unalias ls [ "`type -t ll`" = alias ] && unalias ll