Implement optional delay in bash history command appending

This commit is contained in:
Kristóf Tóth 2018-07-03 15:22:29 +02:00
parent 9eacf3f79c
commit f575a80bd4
1 changed files with 1 additions and 1 deletions

2
bashrc
View File

@ -9,7 +9,7 @@ _precmd()
{
[ -z "$AT_PROMPT" ] && return
unset AT_PROMPT
history -a
[ -z "$TFW_DELAY_HISTAPPEND" ] && history -a
}
trap _precmd DEBUG