mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Merge branch 'master' of github.com:joelthelion/autojump
This commit is contained in:
commit
2095b2b129
@ -47,6 +47,7 @@ j() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
setopt localoptions noautonamedirs
|
||||||
local new_path="$(autojump ${@})"
|
local new_path="$(autojump ${@})"
|
||||||
if [[ -d "${new_path}" ]]; then
|
if [[ -d "${new_path}" ]]; then
|
||||||
echo -e "\\033[31m${new_path}\\033[0m"
|
echo -e "\\033[31m${new_path}\\033[0m"
|
||||||
@ -76,6 +77,7 @@ jo() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
setopt localoptions noautonamedirs
|
||||||
local new_path="$(autojump ${@})"
|
local new_path="$(autojump ${@})"
|
||||||
if [[ -d "${new_path}" ]]; then
|
if [[ -d "${new_path}" ]]; then
|
||||||
case ${OSTYPE} in
|
case ${OSTYPE} in
|
||||||
|
Loading…
Reference in New Issue
Block a user