I'm fairly new to zsh, or bash for that matter.
I wish to set up custom commands, i.e. type desktop to bring me to my desktop. I have heard that if I edit my .bash_profile file with the following code, this would work in bash:
desktop() {
cd /Users/me/Desktop
{
It does not seem to be working with zsh.
Is it just a matter of which file I place the above code in? Or am I going about this all wrong?
I appreciate any help you can provide.