-
You need to install ZSH (shell) and add plugin
globalias
to allow expanding aliases. -
If you don't have, create
.profile
file in home directory. -
Invoke
.profile
in.zshrc
file. Just add line:
. ~/.profile
To add the newest aliases to ~/.profile
file copy and paste this line:
git clone --depth=1 [email protected]:mszkudelski/aliases.git && . ./aliases/script.sh
Script will remove old aliases from file and copy the newest from aliases.txt
file. Script will also clean up (delete cloned repo).