diff options
Diffstat (limited to 'dotfiles/bashrc')
-rw-r--r-- | dotfiles/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/bashrc b/dotfiles/bashrc index 472a267..e638670 100644 --- a/dotfiles/bashrc +++ b/dotfiles/bashrc @@ -16,7 +16,7 @@ export HISTSIZE shopt -s histappend UNFUCK_BASH_HISTORY="history -a" -if test -z "$PROMPT_COMMAND"; then +if test -n "$PROMPT_COMMAND"; then PROMPT_COMMAND="$PROMPT_COMMAND;$UNFUCK_BASH_HISTORY" else PROMPT_COMMAND="$UNFUCK_BASH_HISTORY" |