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

Polished autoinstall part of README a little. added TODO to install.sh

This commit is contained in:
Daniel Jackoway 2009-02-14 13:33:01 -05:00
parent c164885c6a
commit 64e9912e46
2 changed files with 14 additions and 6 deletions

18
README
View File

@ -44,15 +44,23 @@ autojump is distributed under the terms of the GPL, version 3.
INSTALLATION
Auto Installation:
Just run ./install.sh
It uses sudo, so it will probably prompt you for your root password.
You stiill need to do:
run
./install.sh
Enter your root password if it asks.
Add the line
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
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:
source /etc/profile

View File

@ -1,4 +1,4 @@
sudo cp autojump /usr/bin/
sudo cp autojump.sh /etc/profile.d/
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