-
Notifications
You must be signed in to change notification settings - Fork 146
Installation
homeshick is installed as a castle, this way it can keep itself updated. In order to create the castle, simply clone it to the appropriate location.
git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick
To avoid having to call homeshick with such a long path, you can alias it in your .bashrc
:
printf '\nalias homeshick="source $HOME/.homesick/repos/homeshick/bin/homeshick.sh"' >> $HOME/.bashrc
If you use csh or tcsh, you can update your .cshrc
like this:
printf '\nalias homeshick source "$HOME/.homesick/repos/homeshick/bin/homeshick.csh"' >> $HOME/.cshrc
To get the alias working right away, you will have to rerun your .bashrc
with source $HOME/.bashrc
, or your .cshrc
with source $HOME/.cshrc
.
Note: The reason you should use alias="source ..." and not a simple invocation like alias="$HOME/..." is because of the cd command. homeshick cannot change the working directory of your current shell if it is invoked as a subprocess.
You can skip the commands part and go to the tutorial if you prefer getting to know homeshick by using it.