From 2019c5f04163eb945768ed179a00352e62fe0529 Mon Sep 17 00:00:00 2001 From: Masfehico Date: Sat, 30 May 2020 00:19:54 +0200 Subject: history modif in bashrc --- TMV/.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TMV') diff --git a/TMV/.bashrc b/TMV/.bashrc index 30fc853..1202467 100644 --- a/TMV/.bashrc +++ b/TMV/.bashrc @@ -23,3 +23,9 @@ alias imperio='sudo user_imperio.py' TERMINAL='xterm' alias ipconfig='curl ipconfig.io' alias cp='cp -v' + +# append to the history instead of overwriting (good for multiple connections) +shopt -s histappend + +# ignore duplicate commands, ignore commands starting with a space +export HISTCONTROL=erasedups -- cgit v1.2.3