Browse Source

Add autojump to the end of PROMPT_COMMAND

pull/139/head
JrCs 12 years ago
parent
commit
74c50133d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/autojump.bash

+ 1
- 1
bin/autojump.bash View File

@ -59,7 +59,7 @@ AUTOJUMP='{ [[ "$AUTOJUMP_HOME" == "$HOME" ]] && (autojump -a "$(pwd ${_PWD_ARGS
case $PROMPT_COMMAND in case $PROMPT_COMMAND in
*autojump*) ;; *autojump*) ;;
*) export PROMPT_COMMAND="$AUTOJUMP ; ${PROMPT_COMMAND:-:}";;
*) export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }$AUTOJUMP";;
esac esac
function j { function j {

Loading…
Cancel
Save