diff --git a/README b/README index ab666be..f7335e5 100644 --- a/README +++ b/README @@ -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 diff --git a/install.sh b/install.sh index 714cfed..06d6cb0 100755 --- a/install.sh +++ b/install.sh @@ -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. \ No newline at end of file +# TODO intelligently source /etc/profile for them if the line isn't already in their .bashrc \ No newline at end of file