summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-05-12 10:35:32 -0400
committerColin Walters <walters@verbum.org>2011-05-12 10:35:32 -0400
commit4760050f6f27d507296b8bed032058116f4e82af (patch)
treeea5622417c381ee845d144d1632bb9acdcfdfad0
parentcf3520d61c81cedb7617422ff55ab1092d33560a (diff)
downloadhomegit-MOVED-TO-GNOME-master.zip
homegit-MOVED-TO-GNOME-master.tar.gz
homegit-MOVED-TO-GNOME-master.tar.xz
Fix PROMPT_COMMAND settingHEADmaster
-rw-r--r--dotfiles/bashrc2
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"