make an alias on mac
cd; nano .zshrc
> alias test="test.sh"
Go to your home directory
cd && nano .zshrc
In nano kntrl+o to write the file out and kntrl+x to exit the file.
Refresh the shell environment by entering the command below:
source ~/.zshrc