From f575a80bd48696d5e46aeddd48e5810a6ff062e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Tue, 3 Jul 2018 15:22:29 +0200 Subject: [PATCH] Implement optional delay in bash history command appending --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 3f9c6db..725fcaa 100644 --- a/bashrc +++ b/bashrc @@ -9,7 +9,7 @@ _precmd() { [ -z "$AT_PROMPT" ] && return unset AT_PROMPT - history -a + [ -z "$TFW_DELAY_HISTAPPEND" ] && history -a } trap _precmd DEBUG