I am trying to write a command which commit's to the origin master for github, and on completion of that, shut's down the computer... Here is what I have, and it is pointing out a lot of syntax errors as I cannot find out how to have a multiline alias command... Thanks a lot and below is my function, apologies if this is a basic mistake as I am relatively new to the ZSH shell.
# Push to origin master and shut down
alias gitshut=
'
git add .;
git commit -m "Latest Commit";
git push -f origin master;
'
Thanks again, and i appreciate your help