Add alias command to installation instructions

This commit is contained in:
Grégory Soutadé 2012-12-24 09:12:45 +01:00
parent d576adca37
commit ca2becd321

2
README
View File

@ -27,11 +27,13 @@ Local installation :
- Copy whole package content in ~/.local/share/autojump2 - Copy whole package content in ~/.local/share/autojump2
- Create a symbolic link from a bin directory (/bin, /usr/bin, ...) to ~/.local/share/autojump2/autojump2 - Create a symbolic link from a bin directory (/bin, /usr/bin, ...) to ~/.local/share/autojump2/autojump2
- Add 'source ~/.local/share/autojump2/autojump2.bash' to your ~/.bashrc - Add 'source ~/.local/share/autojump2/autojump2.bash' to your ~/.bashrc
- Add 'alias cd="j"' to your ~/.bashrc
Bin installation Bin installation
- Copy whole package content in /usr/local/share/autojump2 - Copy whole package content in /usr/local/share/autojump2
- Create a symbolic link from a bin directory (/bin, /usr/bin, ...) to /usr/local/share/autojump2/autojump2 - Create a symbolic link from a bin directory (/bin, /usr/bin, ...) to /usr/local/share/autojump2/autojump2
- Add 'source /usr/local/share/autojump2/autojump2.bash' to your ~/.bashrc - Add 'source /usr/local/share/autojump2/autojump2.bash' to your ~/.bashrc
- Add 'alias cd="j"' to your ~/.bashrc
A database named .autojump2.dict will be created at $AUTOJUMP2_DATA_DIR/ or ~/ if variable is not defined A database named .autojump2.dict will be created at $AUTOJUMP2_DATA_DIR/ or ~/ if variable is not defined