Assuming zsh and oh-my-zsh are installed already (see oh-my-zsh installation instructions), fork or clone directly somewhere, e.g.:
git clone git@github.com:artm/zshrc.git
Enter the repository:
cd zshrc
Symlink the zshrc
as ~/.zshrc
. Warning: this removes any pre-existing
~/.zshrc
and assumes oh-my-zsh was installed in the default location
(~/.oh-my-zsh
):
ln -sf "$(pwd)/zshrc" ~/.zshrc
Start a new shell: e.g. open a terminal or ssh into the host.