mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
better fix for custom installation directories
This commit is contained in:
@@ -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 = '__'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user