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

pull/18/head
Daniel Jackoway 15 years ago
parent c164885c6a
commit 64e9912e46

@ -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

@ -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
Loading…
Cancel
Save