diff --git a/bin/autojump.zsh b/bin/autojump.zsh index 09d78fb..187e142 100644 --- a/bin/autojump.zsh +++ b/bin/autojump.zsh @@ -42,7 +42,7 @@ chpwd_functions+=autojump_chpwd # default autojump command j() { - if [[ ${@} == -* ]]; then + if [[ ${@} == -* && ! (${#} -eq 2 && ${1} == '--') ]]; then autojump ${@} return fi