aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-11 15:17:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-11 15:17:08 +1200
commit2918a4ed0104f65a1c14d96b07ea9725bf8cde44 (patch)
treea83c244267389e6782624b4b1120a9986e0f226d /bash
parentTidied VCS prompt functions (diff)
downloaddotfiles-2918a4ed0104f65a1c14d96b07ea9725bf8cde44.tar.gz
dotfiles-2918a4ed0104f65a1c14d96b07ea9725bf8cde44.zip
Improve comment on prompt command.
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index caed3242..adac8b2c 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -14,7 +14,7 @@ HISTCONTROL=ignoreboth
# Keep the times of the commands in history.
HISTTIMEFORMAT='%F %T '
-# Add history entries directly.
+# Add history entries immediately, not on exit.
PROMPT_COMMAND="history -a; ${PROMPT_COMMAND}"
# Don't check for mail all the time, it's irritating.