mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
minor code cleanup
This commit is contained in:
parent
ad7f0fb27e
commit
214440af65
@ -65,8 +65,11 @@ autojump_add_to_database() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case $PROMPT_COMMAND in
|
case $PROMPT_COMMAND in
|
||||||
*autojump*) ;;
|
*autojump*)
|
||||||
*) export PROMPT_COMMAND="${PROMPT_COMMAND:+$(echo "${PROMPT_COMMAND}" | awk '{gsub(/; *$/,"")}1') ; }autojump_add_to_database";;
|
;;
|
||||||
|
*)
|
||||||
|
export PROMPT_COMMAND="${PROMPT_COMMAND:+$(echo "${PROMPT_COMMAND}" | awk '{gsub(/; *$/,"")}1') ; }autojump_add_to_database"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
function j {
|
function j {
|
||||||
|
Loading…
Reference in New Issue
Block a user