1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Merge pull request #236 from mineo/jo-options

zsh/jo: Defer -options to j
This commit is contained in:
William Ting 2013-11-26 08:24:22 -08:00
commit b980ce795e

View File

@ -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."