Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
grepinsight committed Jan 6, 2021
1 parent 42a3c90 commit db5cbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/history_search.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ record_external_history() {
history 1 | perl -pe 's/^\s*\d+\s*\d+\s*//' >> $ETERNAL_HISTORY_FILE
}

PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"record_external_history
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND}"record_external_history

0 comments on commit db5cbf2

Please sign in to comment.