I want to use emacs
from Applications
folder when I'm using Mac, but I'm using same .zshrc
in Ubuntu.
alias emacs='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient'
So I want to create this alias for only when I'm using OS X
. How can I get a OS name in .zshrc
?