summaryrefslogtreecommitdiffstats
path: root/bash/j.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bash/j.sh')
-rwxr-xr-xbash/j.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/j.sh b/bash/j.sh
index ed8e0c1..2a924b5 100755
--- a/bash/j.sh
+++ b/bash/j.sh
@@ -129,5 +129,5 @@ j() {
complete -C 'j --complete "$COMP_LINE"' j
# populate directory list. avoid clobbering other PROMPT_COMMANDs.
echo $PROMPT_COMMAND | grep -q "j --add" || {
- PROMPT_COMMAND='j --add "$(pwd -P)";'"$PROMPT_COMMAND"
+ PROMPT_COMMAND="$PROMPT_COMMAND"';j --add "$(pwd -P)"'
}