`j -- foo` does not jump, but outputs the dir only
Created by: blueyed
I was trying to use j -- -url to jump to a dir containing -dir, but the target directory gets printed only - autojump does not change into it.
I think the j function should handle -- by not passing it only to autojump.
It currently looks like this:
j () {
if [[ ${@} = -* ]]
then
autojump ${@}
return
fi