1
0
Fork 0

Ignore `exit` in bash history

main
urosm 2024-10-12 00:27:21 +02:00
parent 8e1d649176
commit 9a934b333c
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ alias lll="ls -AFl"
HISTCONTROL="ignoreboth:erasedups"
HISTFILESIZE=-1
HISTSIZE=-1
HISTIGNORE="q"
HISTIGNORE="exit:q"
shopt -s histappend
PROMPT_COMMAND=${PROMPT_COMMAND:+${PROMPT_COMMAND%;}; }"history -a; history -c; history -r;"