|
|
@ -81,41 +81,23 @@ Auto Installation
|
|
|
|
|
|
|
|
|
|
|
|
run::
|
|
|
|
run::
|
|
|
|
|
|
|
|
|
|
|
|
./install.sh
|
|
|
|
./install.sh [ --local ] [ --zsh ]
|
|
|
|
|
|
|
|
|
|
|
|
or::
|
|
|
|
and follow on screen instructions.
|
|
|
|
|
|
|
|
|
|
|
|
./install.zsh
|
|
|
|
Use --local to install into current user's home directory.
|
|
|
|
|
|
|
|
|
|
|
|
depending on your shell.
|
|
|
|
Use --zsh to install for Z shell.
|
|
|
|
Enter your root password if it asks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add the line::
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
source /etc/profile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to ``~/.bashrc`` or ``~/.zshrc`` if it isn't already there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Troubleshoot
|
|
|
|
Troubleshoot
|
|
|
|
------------
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
|
|
If the script fails, you may need to do::
|
|
|
|
If the script fails, you may need to do::
|
|
|
|
|
|
|
|
|
|
|
|
chmod +x install.(z)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,
|
|
|
|
|
|
|
|
- autojump.1 to /usr/share/man/man1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Make sure to source ``/etc/profile`` in your ``.bashrc`` or ``.zshrc`` ::
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
source /etc/profile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Packaging
|
|
|
|
Packaging
|
|
|
|
=========
|
|
|
|
=========
|
|
|
|
|
|
|
|
|
|
|
@ -136,24 +118,10 @@ Autojump is also packaged for a number of other distros. Check the wiki for an u
|
|
|
|
Uninstallation
|
|
|
|
Uninstallation
|
|
|
|
==============
|
|
|
|
==============
|
|
|
|
|
|
|
|
|
|
|
|
To completely remove autojump you should remove these files:
|
|
|
|
run::
|
|
|
|
|
|
|
|
|
|
|
|
``/etc/profile.d/autojump.bash``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``/etc/profile.d/autojump.sh``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``/etc/profile.d/autojump.zsh``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``/usr/bin/autojump``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``/usr/bin/jumpapplet``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``/usr/share/autojump/icon.png``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``/usr/share/autojump/``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``/usr/share/man/man1/autojump.1``
|
|
|
|
./uninstall.sh
|
|
|
|
|
|
|
|
|
|
|
|
Remove any mention of autojump in your ``.bashrc`` or ``.zshrc``, then in currently running shells do:``source /etc/profile``.
|
|
|
|
and follow on screen instructions.
|
|
|
|
|
|
|
|
|
|
|
|
If you keep getting ``autojump: command not found`` at the Bash prompt, do:``unset PROMPT_COMMAND``. You can also restart your shell.
|
|
|
|
If you keep getting ``autojump: command not found`` at the Bash prompt, do:``unset PROMPT_COMMAND``. You can also restart your shell.
|
|
|
|