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

Use noautonamedirs with Zsh aliases

Fixes https://github.com/joelthelion/autojump/issues/312
This commit is contained in:
Daniel Hahler 2014-09-17 23:23:39 +02:00
parent 5538cf70f3
commit b60932616b

View File

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