diff --git a/bin/autojump b/bin/autojump index 9d145b9..819535a 100755 --- a/bin/autojump +++ b/bin/autojump @@ -34,7 +34,7 @@ import re import shutil from tempfile import NamedTemporaryFile -VERSION = 'release-v21.5.6' +VERSION = 'release-v21.5.7' MAX_KEYWEIGHT = 1000 MAX_STORED_PATHS = 1000 COMPLETION_SEPARATOR = '__' diff --git a/bin/autojump.sh b/bin/autojump.sh index 528e49a..f631d95 100644 --- a/bin/autojump.sh +++ b/bin/autojump.sh @@ -15,7 +15,7 @@ elif [ -s /etc/profile.d/autojump.${shell} ]; then source /etc/profile.d/autojump.${shell} # check custom install locations (modified by Homebrew or using --destdir option) -elif [ -s /destdir_${RANDOM}_install/autojump.${shell} ]; then - source /destdir_${RANDOM}_install/autojump.${shell} +#custom# elif [ -s destdir_install/autojump.${shell} ]; then +#custom# source destdir_install/autojump.${shell} fi diff --git a/install.sh b/install.sh index 58abc53..259970d 100755 --- a/install.sh +++ b/install.sh @@ -222,7 +222,8 @@ install -v -m 0755 ./bin/_j ${destdir}${zshsharedir} || exit 1 # MODIFY AUTOJUMP.SH FOR CUSTOM INSTALLS if [[ -z ${local} ]] && [[ -z ${global} ]]; then - sed -i "s:/destdir_.*_install:${destdir}etc/profile.d:g" ${destdir}etc/profile.d/autojump.sh + sed -i "s:#custom#\t::g" ${destdir}etc/profile.d/autojump.sh + sed -i "s:destdir_install\t:${destdir}etc/profile.d:g" ${destdir}etc/profile.d/autojump.sh fi # DISPLAY ADD MESSAGE