1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
This commit is contained in:
Philippe Proulx 2014-09-24 16:40:46 +00:00
commit 0b7a48bdda

View File

@ -42,7 +42,7 @@ chpwd_functions+=autojump_chpwd
# default autojump command
j() {
if [[ ${@} == -* ]]; then
if [[ ${@} == -* && ! (${#} -eq 2 && ${1} == '--') ]]; then
autojump ${@}
return
fi