mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
Minor cleanup.
This commit is contained in:
@@ -14,14 +14,13 @@ fi
|
|||||||
|
|
||||||
# prevent circular loop for sh shells
|
# prevent circular loop for sh shells
|
||||||
if [ "${shell}" = "sh" ]; then
|
if [ "${shell}" = "sh" ]; then
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
# check local install
|
# check local install
|
||||||
elif [ -s ~/.autojump/share/autojump/autojump.${shell} ]; then
|
elif [ -s ~/.autojump/share/autojump/autojump.${shell} ]; then
|
||||||
source ~/.autojump/share/autojump/autojump.${shell}
|
source ~/.autojump/share/autojump/autojump.${shell}
|
||||||
|
|
||||||
# check global install
|
# check global install
|
||||||
elif [ -s /usr/local/share/autojump/autojump.${shell} ]; then
|
elif [ -s /usr/local/share/autojump/autojump.${shell} ]; then
|
||||||
source /usr/local/share/autojump/autojump.${shell}
|
source /usr/local/share/autojump/autojump.${shell}
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user