Merge pull request #236 from mineo/jo-options

zsh/jo: Defer -options to j
pull/241/head
William Ting 11 years ago
commit b980ce795e

@ -59,6 +59,11 @@ function jc {
}
function jo {
if [[ ${@} == -* ]]; then
j ${@}
return
fi
if [ -z $(autojump $@) ]; then
echo "autojump: directory '${@}' not found"
echo "Try \`autojump --help\` for more information."

Loading…
Cancel
Save