aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-03-08 15:44:38 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-03-08 15:44:38 +1300
commitab2735da0333cea9be8b60cccad51c5fc122d2d1 (patch)
treef0df3074a429da944ed7121ea5768a7010fc39c1 /bash
parentNo local buffer support for [no]hlsearch. (diff)
downloaddotfiles-ab2735da0333cea9be8b60cccad51c5fc122d2d1.tar.gz
dotfiles-ab2735da0333cea9be8b60cccad51c5fc122d2d1.zip
Swap order of history appending calls.
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 63eb3106..81fea1fa 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -12,7 +12,7 @@ HISTCONTROL=ignoreboth
HISTTIMEFORMAT='%F %T '
# Add all commands to the history immediately.
-PROMPT_COMMAND='history -a;history -n'
+PROMPT_COMMAND='history -n;history -a'
# Allow my home directory as a base for relative cd calls.
CDPATH=.:~