From: Oleg Broytman Date: Sat, 8 Oct 2022 19:42:44 +0000 (+0300) Subject: .bashrc: Sort shopts alphabetically X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=a8f2d98db8d69e9361e0c175e29e0ee743d1dfe6 .bashrc: Sort shopts alphabetically --- 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