From a4ba43344663cbe4208c4e068d0e00cb99415b41 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 29 May 2017 15:03:30 +0100 Subject: Better history settings --- bashrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bashrc') 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 -- cgit v1.2.3