在 bash 中,如何为 cd 创建一个别名然后执行 grunt 服务?

In bash how can you create an alias to cd then do grunt serve?

这看起来很简单,但我找不到答案。我想做的是...

alias projTY run='cd proj/pname/ grunt serve'

尝试添加分号,例如:

alias projTY="cd proj/pname/; grunt serve"