summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-05-29 15:03:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-05-29 15:03:30 +0100
commita4ba43344663cbe4208c4e068d0e00cb99415b41 (patch)
tree1075e968b652489d4d8f60d755a1c10d97176a19
parentRemove PA ssh/mounts (diff)
downloadutil-a4ba43344663cbe4208c4e068d0e00cb99415b41.tar.bz2
util-a4ba43344663cbe4208c4e068d0e00cb99415b41.tar.xz
util-a4ba43344663cbe4208c4e068d0e00cb99415b41.zip
Better history settings
-rw-r--r--bashrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index c2d4606..c51b824 100644
--- a/bashrc
+++ b/bashrc
@@ -104,8 +104,10 @@ fi
PATH=$PATH:~/files/scripts/
export XAUTHORITY=~/.Xauthority
-export HISTSIZE=15000
-export HISTCONTROL=ignoredups
+export HISTFILESIZE=15000
+export HISTSIZE=${HISTFILESIZE}
+export HISTCONTROL=ignoredups:ignorespace
+shopt -s histappend
export LESSCHARSET=utf-8
export EDITOR="gvim -f"
shopt -s cdspell