1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

minor code cleanup

This commit is contained in:
William Ting 2013-02-01 14:59:34 -06:00
parent ad7f0fb27e
commit 214440af65

View File

@ -65,8 +65,11 @@ autojump_add_to_database() {
}
case $PROMPT_COMMAND in
*autojump*) ;;
*) export PROMPT_COMMAND="${PROMPT_COMMAND:+$(echo "${PROMPT_COMMAND}" | awk '{gsub(/; *$/,"")}1') ; }autojump_add_to_database";;
*autojump*)
;;
*)
export PROMPT_COMMAND="${PROMPT_COMMAND:+$(echo "${PROMPT_COMMAND}" | awk '{gsub(/; *$/,"")}1') ; }autojump_add_to_database"
;;
esac
function j {