ZSH alias with parameter
If you really need to use an alias with a parameter for some reason, you can hack it by embedding a function in your alias and immediately executing it: alias example=”f() { echo Your arg was $1. };f” I see this approach used a lot in .gitconfig aliases.