From 5b1d2fb01f2eb63e9952e8920ba8e3ad6760cb87 Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Tue, 13 Nov 2012 00:35:08 +0100 Subject: [PATCH] Update README.md The recommendation doesn't work with bash 4.1.5, the code in autojump.bash is fine, so use it here. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b53e5e..2a7cfb3 100644 --- a/README.md +++ b/README.md @@ -220,7 +220,7 @@ KNOWN ISSUES Do this: - export PROMPT\_COMMAND="${PROMPT\_COMMAND}; history -a" + export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }history -a" - The jump function `j` does not support directories that begin with `-`. If you want to jump a directory called `--music`, try using