]> git.phdru.name Git - dotfiles.git/commitdiff
.bashrc: Sort shopts alphabetically
authorOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 19:42:44 +0000 (22:42 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 19:42:44 +0000 (22:42 +0300)
.bashrc

diff --git a/.bashrc b/.bashrc
index 14eeaec3b31bc792485a9d2d22d7137ce7c70704..c1d88ed8a3dd4ef90afbb9a693c923acc28c81bd 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -31,9 +31,6 @@ if [ "$HISTFILE" = "$HOME/.bash_history" ]; then
     unset HISTFILE
 fi
 
     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
 # 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
 
 # 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
 
 [ "`type -t ls`" = alias ] && unalias ls
 [ "`type -t ll`" = alias ] && unalias ll