mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Polished autoinstall part of README a little. added TODO to install.sh
This commit is contained in:
		
							parent
							
								
									c164885c6a
								
							
						
					
					
						commit
						64e9912e46
					
				
							
								
								
									
										18
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README
									
									
									
									
									
								
							| @ -44,15 +44,23 @@ autojump is distributed under the terms of the GPL, version 3. | |||||||
| INSTALLATION | INSTALLATION | ||||||
| 
 | 
 | ||||||
| Auto Installation: | Auto Installation: | ||||||
| Just run ./install.sh  | run  | ||||||
| It uses sudo, so it will probably prompt you for your root password.  | 
 | ||||||
| You stiill need to do:  |     ./install.sh  | ||||||
|  | 
 | ||||||
|  | Enter your root password if it asks.  | ||||||
|  | Add the line | ||||||
|  | 
 | ||||||
|     source /etc/profile |     source /etc/profile | ||||||
| in your .bashrc | 
 | ||||||
| If the script fails, you may need to do  | to ~/.bashrc if it isn't already there.  | ||||||
|  | TROUBLESHOOT If the script fails, you may need to do  | ||||||
|  | 
 | ||||||
|     chmod +x install.sh |     chmod +x install.sh | ||||||
|  | 
 | ||||||
| before the first step.  | before the first step.  | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| Manual installation of autojump is very simple: copy autojump to /usr/bin, autojump.sh to /etc/profile.d, and autojump.1 to /usr/share/man/man1. Make sure you source /etc/profile in your .bashrc: | Manual installation of autojump is very simple: copy autojump to /usr/bin, autojump.sh to /etc/profile.d, and autojump.1 to /usr/share/man/man1. Make sure you source /etc/profile in your .bashrc: | ||||||
| 
 | 
 | ||||||
|     source /etc/profile |     source /etc/profile | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| sudo cp autojump /usr/bin/ | sudo cp autojump /usr/bin/ | ||||||
| sudo cp autojump.sh /etc/profile.d/ | sudo cp autojump.sh /etc/profile.d/ | ||||||
| sudo cp autojump.1 /usr/share/man/man1/ | sudo cp autojump.1 /usr/share/man/man1/ | ||||||
| # I guess I could do the source-ing here too, but I'm not sure it's a good call.  | # TODO intelligently source /etc/profile for them if the line isn't already in their .bashrc | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user