mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	install script modified in order for autojump to install correctly OS X
This commit is contained in:
		
							parent
							
								
									c533b2b4fd
								
							
						
					
					
						commit
						1fc107ad38
					
				@ -36,6 +36,11 @@ else
 | 
			
		||||
	    echo "" >> ~/.bashrc
 | 
			
		||||
	    echo "#autojump" >> ~/.bashrc
 | 
			
		||||
	    cat autojump.bash >> ~/.bashrc
 | 
			
		||||
            OS=`uname`
 | 
			
		||||
            if [ $OS == 'Darwin' ]; then
 | 
			
		||||
              echo "# Get the aliases and functions"
 | 
			
		||||
              echo "\nif [ -f ~/.bashrc ]; then\n  . ~/.bashrc\nfi" >> ~/.bash_profile
 | 
			
		||||
            fi
 | 
			
		||||
	else
 | 
			
		||||
	    echo "Then you need to put autojump.sh, or the code from it, somewhere where it will get read. Good luck!"
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user