mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Minor cleanup.
This commit is contained in:
parent
c5f0473837
commit
53683525d2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user