First cd
into the repository. Then:
ln .zshrc ~/.zshrc
ln .zsh_php ~/.zsh_php
ln .zsh_functions ~/.zsh_functions
or, inline:
ln .zshrc ~/.zshrc && ln .zsh_php ~/.zsh_php && ln .zsh_functions ~/.zsh_functions
The .zsh_motd
it's not linked, since it likely you have a different one for each machine.
So simply copy it, and then modify it (it will not change in the repo, hopefully, so no need to link it)
cp .zsh_motd ~
It contains a Python script, in which are stored some utilities I use to manage, launch, create things and more, in my work projects.
As for the .zsh*
files, simply link the folder to a bin
folder in the home directory.
ln -s $(pwd)/pu ~/bin/pu
If the ~/bin
folder doesn't exists, (ln: ~/bin/pu: No such file or directory
) simply create it, and then relaunch the prevoious command.
mkdir -p ~/bin