From c026cdf95f3523f687c3e8e1082e8d04cce06f6c Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 10 May 2013 18:06:03 -0400 Subject: [PATCH] Setup gnu tools for ma --- .aliases | 3 ++- .zshrc | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.aliases b/.aliases index efb4f26..d40aa53 100644 --- a/.aliases +++ b/.aliases @@ -10,7 +10,8 @@ alias gl="git log" alias gh="git hist" alias grm="git rm" alias gs="git status" -alias l="ls -lvh --color=auto" +alias l="ls" +alias ls="ls -lvh --color=auto" alias s="cd ~/Source" alias t="tmux" alias v="vim" diff --git a/.zshrc b/.zshrc index 8c01163..23a72ce 100644 --- a/.zshrc +++ b/.zshrc @@ -7,6 +7,11 @@ ZSH=$HOME/.oh-my-zsh # time that oh-my-zsh is loaded. ZSH_THEME="kphoen" +if [[ "$OSTYPE" == darwin* ]]; then + PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" + MANPATH="/usr/local/opt/coreutils/libexec/gnubin:$MANPATH" +fi + # List directory when changing (github/r00k) chpwd() { ls -lvh --color=auto