Go to OSX Daily to read How to Configure & Use Aliases in ZSH
Command line aliases are very useful, allowing you to have command shortcuts for lengthier commands, and you can use them to replace one command with another as well. With zsh becoming the default shell in Terminal for MacOS, and a widely used shell in general thanks to Oh-My-Zsh, you may be wondering how to configure and use aliases with zsh shell.
How to Create an Alias in zsh
Zsh aliases are stored in the users zshrc file within the home directory, which is prefixed with a period to signify that it is hidden. Thus we must edit that file to configure…