浏览代码

Use `noautonamedirs` with Zsh aliases

Fixes https://github.com/joelthelion/autojump/issues/312
pull/297/merge
Daniel Hahler 10 年前
父节点
当前提交
b60932616b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      bin/autojump.zsh

+ 2
- 0
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

正在加载...
取消
保存