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

Add option to preserve symlinks to the zsh script

This commit is contained in:
Khalid Zubair 2012-02-10 19:41:17 -05:00
parent a5a135d2b5
commit f0fe603af5

View File

@ -41,7 +41,7 @@ function autojump_preexec() {
else
_PWD_ARGS="-P"
fi
{ (autojump -a "$(pwd -P)"&)>/dev/null 2>>|${AUTOJUMP_DATA_DIR}/.autojump_errors ; } 2>/dev/null
{ (autojump -a "$(pwd ${_PWD_ARGS})"&)>/dev/null 2>>|${AUTOJUMP_DATA_DIR}/.autojump_errors ; } 2>/dev/null
}
typeset -ga preexec_functions