From b60932616b5be466495cb0083ff452ecec3ac88c Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 17 Sep 2014 23:23:39 +0200 Subject: [PATCH] Use `noautonamedirs` with Zsh aliases Fixes https://github.com/joelthelion/autojump/issues/312 --- bin/autojump.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/autojump.zsh b/bin/autojump.zsh index f1abd3f..09d78fb 100644 --- a/bin/autojump.zsh +++ b/bin/autojump.zsh @@ -47,6 +47,7 @@ j() { return fi + setopt localoptions noautonamedirs local new_path="$(autojump ${@})" if [[ -d "${new_path}" ]]; then echo -e "\\033[31m${new_path}\\033[0m" @@ -76,6 +77,7 @@ jo() { return fi + setopt localoptions noautonamedirs local new_path="$(autojump ${@})" if [[ -d "${new_path}" ]]; then case ${OSTYPE} in