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

minor fix

This commit is contained in:
William Ting 2013-04-19 09:49:53 -05:00
parent 81400f02a3
commit d3c1765255
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ import re
import shutil
from tempfile import NamedTemporaryFile
VERSION = 'release-v21.5.4'
VERSION = 'release-v21.5.5'
MAX_KEYWEIGHT = 1000
MAX_STORED_PATHS = 1000
COMPLETION_SEPARATOR = '__'

View File

@ -3,8 +3,8 @@
shell=`echo ${SHELL} | awk -F/ '{ print $NF }'`
# prevent circular loop for sh shells
if [ "${shell}" == "sh" ]; then
exit 0
if [ "${shell}" = "sh" ]; then
return 0
# check local install
elif [ -s ~/.autojump/etc/profile.d/autojump.${shell} ]; then