As you have discovered, you can chain commands in one alias using ; :
alias update_my_gems="echo foo; echo bar"
Alternatively, you can easily write a function in the ~/.zshrc :
update_my_gems() { echo foo echo bar }
For ease of reading, I personally would like to use the function for something a semi-complexor.
simont
source share