Do not share history between sessions
This commit is contained in:
parent
91353682db
commit
f363d28c41
1 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
|
||||
export HISTSIZE=10000
|
||||
export HISTFILESIZE=10000
|
||||
|
||||
# don't put duplicate lines in the history. See bash(1) for more options
|
||||
export HISTCONTROL=ignoredups
|
||||
export HISTCONTROL=ignoredups:erasedups
|
||||
shopt -s histappend
|
||||
# Reload history on each command
|
||||
#PROMPT_COMMAND="history -n; history -w; history -c; history -r; $PROMPT_COMMAND"
|
||||
|
||||
|
|
Loading…
Reference in a new issue