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:
parent
a5a135d2b5
commit
f0fe603af5
@ -41,7 +41,7 @@ function autojump_preexec() {
|
|||||||
else
|
else
|
||||||
_PWD_ARGS="-P"
|
_PWD_ARGS="-P"
|
||||||
fi
|
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
|
typeset -ga preexec_functions
|
||||||
|
Loading…
Reference in New Issue
Block a user