diff options
author | Masfehico <clyhtsuriva@gmail.com> | 2020-05-30 00:19:54 +0200 |
---|---|---|
committer | Masfehico <clyhtsuriva@gmail.com> | 2020-05-30 00:19:54 +0200 |
commit | 2019c5f04163eb945768ed179a00352e62fe0529 (patch) | |
tree | cf823523a201f7ff6a80454fd1e5c2496c98c412 | |
parent | 4021e1489d79e2bfe4de575ddab261f01fd500a3 (diff) |
history modif in bashrc
-rw-r--r-- | TMV/.bashrc | 6 |
1 files changed, 6 insertions, 0 deletions
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 |