Open file ~/.zprofile and add there this line: alias name='echo "Hello!"'
~/.zprofile
alias name='echo "Hello!"'
That's how you can add alias. As I understood, this file launching when you open the terminal.