Ignore `exit` in bash history
parent
8e1d649176
commit
9a934b333c
2
.bashrc
2
.bashrc
|
@ -21,7 +21,7 @@ alias lll="ls -AFl"
|
||||||
HISTCONTROL="ignoreboth:erasedups"
|
HISTCONTROL="ignoreboth:erasedups"
|
||||||
HISTFILESIZE=-1
|
HISTFILESIZE=-1
|
||||||
HISTSIZE=-1
|
HISTSIZE=-1
|
||||||
HISTIGNORE="q"
|
HISTIGNORE="exit:q"
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
PROMPT_COMMAND=${PROMPT_COMMAND:+${PROMPT_COMMAND%;}; }"history -a; history -c; history -r;"
|
PROMPT_COMMAND=${PROMPT_COMMAND:+${PROMPT_COMMAND%;}; }"history -a; history -c; history -r;"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue