Comment out the foreground save that led to awful latency

This commit is contained in:
David Dworken 2022-11-02 19:46:02 -07:00
parent 3782dfd1b0
commit 72ff95ab8b
No known key found for this signature in database

View File

@ -24,7 +24,7 @@ function __hishtory_postcommand() {
# Run after every prompt # Run after every prompt
(hishtory saveHistoryEntry bash $EXIT_CODE "`history 1`" $HISHTORY_START_TIME &) # Background Run (hishtory saveHistoryEntry bash $EXIT_CODE "`history 1`" $HISHTORY_START_TIME &) # Background Run
hishtory saveHistoryEntry bash $EXIT_CODE "`history 1`" $HISHTORY_START_TIME # Foreground Run # hishtory saveHistoryEntry bash $EXIT_CODE "`history 1`" $HISHTORY_START_TIME # Foreground Run
} }
PROMPT_COMMAND="__hishtory_postcommand; $PROMPT_COMMAND" PROMPT_COMMAND="__hishtory_postcommand; $PROMPT_COMMAND"
export HISTTIMEFORMAT=$HISTTIMEFORMAT export HISTTIMEFORMAT=$HISTTIMEFORMAT