mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-19 19:37:59 +02:00
Comment out the foreground save that led to awful latency
This commit is contained in:
parent
3782dfd1b0
commit
72ff95ab8b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user