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

update install.sh to source shell specific file

This commit is contained in:
William Ting 2013-06-04 08:00:39 -05:00
parent 6a639d59b2
commit e22a346b56
2 changed files with 3 additions and 3 deletions

View File

@ -199,7 +199,7 @@ class Database:
def set_defaults(): def set_defaults():
config = {} config = {}
config['version'] = 'release-v21.6.8' config['version'] = 'release-v21.7.0'
config['max_paths'] = 1000 config['max_paths'] = 1000
config['separator'] = '__' config['separator'] = '__'
config['home'] = os.path.expanduser('~') config['home'] = os.path.expanduser('~')

View File

@ -234,9 +234,9 @@ if [[ `uname` == "Darwin" ]] && [[ ${shell} == "bash" ]]; then
rc_file="~/.bash_profile" rc_file="~/.bash_profile"
fi fi
aj_shell_file="${destdir}etc/profile.d/autojump.sh" aj_shell_file="${destdir}etc/profile.d/autojump.${shell}"
if [[ ${local} ]]; then if [[ ${local} ]]; then
aj_shell_file="~/.autojump/etc/profile.d/autojump.sh" aj_shell_file="~/.autojump/etc/profile.d/autojump.${shell}"
fi fi
echo echo