]> arthur.barton.de Git - ConfigScripts.git/blobdiff - sys/bashrc
Update shell history handling
[ConfigScripts.git] / sys / bashrc
index c19746b1ffcea0a2b48215e07c49f31fe3d28851..91e94a48d906c19acf2d921a58662cdf947a1ea0 100644 (file)
@@ -1,6 +1,6 @@
 #
 # /etc/bash.bashrc: System-wide rc file for interactive bash(1) shells.
-# Written 2003-2012 by Alexander Barton (alex@barton.de)
+# Written 2003-2013 by Alexander Barton (alex@barton.de)
 #
 
 [ -e ~/.ConfigScripts.debug ] && echo " >> /etc/bash.bashrc ..."
@@ -23,6 +23,8 @@ alias "l"="ll -a"
 set mark-directories on
 set mark-symlinked-directories on
 HISTCONTROL=ignoredups
+HISTSIZE=500
+HISTFILESIZE=2000
 
 # Shell prompt
 PS1="\u@\h:\w \$ "
@@ -37,6 +39,8 @@ esac
 shopt -s checkwinsize
 shopt -s cdspell
 shopt -s histappend
+shopt -s histreedit
+shopt -s histverify
 
 # Shell functions
 sshnew() {