mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
bash: fix escaping
This commit is contained in:
parent
96456e24e6
commit
413464d6bb
@ -45,7 +45,7 @@ case $PROMPT_COMMAND in
|
||||
*autojump*)
|
||||
;;
|
||||
*)
|
||||
PROMPT_COMMAND="${PROMPT_COMMAND:+$(echo "${PROMPT_COMMAND}" | awk '{gsub(/; *$/,"")}1') ; }[[ $OLDPWD == $PPWD ]] && autojump_add_to_database && PPWD=$PWD"
|
||||
PROMPT_COMMAND="${PROMPT_COMMAND:+$(echo "${PROMPT_COMMAND}" | awk '{gsub(/; *$/,"")}1') ; }[[ \$OLDPWD == \$PPWD ]] && autojump_add_to_database && PPWD=\$PWD"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user