mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	update install.sh to source shell specific file
This commit is contained in:
		
							parent
							
								
									6a639d59b2
								
							
						
					
					
						commit
						e22a346b56
					
				| @ -199,7 +199,7 @@ class Database: | ||||
| def set_defaults(): | ||||
|     config = {} | ||||
| 
 | ||||
|     config['version'] = 'release-v21.6.8' | ||||
|     config['version'] = 'release-v21.7.0' | ||||
|     config['max_paths'] = 1000 | ||||
|     config['separator'] = '__' | ||||
|     config['home'] = os.path.expanduser('~') | ||||
|  | ||||
| @ -234,9 +234,9 @@ if [[ `uname` == "Darwin" ]] && [[ ${shell} == "bash" ]]; then | ||||
|     rc_file="~/.bash_profile" | ||||
| fi | ||||
| 
 | ||||
| aj_shell_file="${destdir}etc/profile.d/autojump.sh" | ||||
| aj_shell_file="${destdir}etc/profile.d/autojump.${shell}" | ||||
| if [[ ${local} ]]; then | ||||
|     aj_shell_file="~/.autojump/etc/profile.d/autojump.sh" | ||||
|     aj_shell_file="~/.autojump/etc/profile.d/autojump.${shell}" | ||||
| fi | ||||
| 
 | ||||
| echo | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user