mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
minor fix
This commit is contained in:
parent
81400f02a3
commit
d3c1765255
@ -34,7 +34,7 @@ import re
|
|||||||
import shutil
|
import shutil
|
||||||
from tempfile import NamedTemporaryFile
|
from tempfile import NamedTemporaryFile
|
||||||
|
|
||||||
VERSION = 'release-v21.5.4'
|
VERSION = 'release-v21.5.5'
|
||||||
MAX_KEYWEIGHT = 1000
|
MAX_KEYWEIGHT = 1000
|
||||||
MAX_STORED_PATHS = 1000
|
MAX_STORED_PATHS = 1000
|
||||||
COMPLETION_SEPARATOR = '__'
|
COMPLETION_SEPARATOR = '__'
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
shell=`echo ${SHELL} | awk -F/ '{ print $NF }'`
|
shell=`echo ${SHELL} | awk -F/ '{ print $NF }'`
|
||||||
|
|
||||||
# prevent circular loop for sh shells
|
# prevent circular loop for sh shells
|
||||||
if [ "${shell}" == "sh" ]; then
|
if [ "${shell}" = "sh" ]; then
|
||||||
exit 0
|
return 0
|
||||||
|
|
||||||
# check local install
|
# check local install
|
||||||
elif [ -s ~/.autojump/etc/profile.d/autojump.${shell} ]; then
|
elif [ -s ~/.autojump/etc/profile.d/autojump.${shell} ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user