From b85687606273c41ca6c848df85ac283cf32e2032 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 23 Oct 2014 18:03:58 -0400 Subject: [PATCH] Add mac aliases file --- .aliases-mac | 1 + .zshrc | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .aliases-mac diff --git a/.aliases-mac b/.aliases-mac new file mode 100644 index 0000000..aa13b20 --- /dev/null +++ b/.aliases-mac @@ -0,0 +1 @@ +alias google-chrome="open -a Google\ Chrome" diff --git a/.zshrc b/.zshrc index 077751d..c075127 100644 --- a/.zshrc +++ b/.zshrc @@ -48,6 +48,10 @@ source $ZSH/oh-my-zsh.sh source $HOME/.aliases source $HOME/.functions +if [[ "$OSTYPE" == darwin* ]]; then + source $HOME/.aliases-mac +fi + # Bind insert_sudo function zle -N insert-sudo bindkey "^z" insert-sudo