From a8f2d98db8d69e9361e0c175e29e0ee743d1dfe6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 8 Oct 2022 22:42:44 +0300 Subject: [PATCH] .bashrc: Sort shopts alphabetically --- .bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5