Setup gnu tools for ma

This commit is contained in:
Andrew Tomaka 2013-05-10 18:06:03 -04:00
parent 5ae542fe19
commit c026cdf95f
2 changed files with 7 additions and 1 deletions

View file

@ -10,7 +10,8 @@ alias gl="git log"
alias gh="git hist" alias gh="git hist"
alias grm="git rm" alias grm="git rm"
alias gs="git status" alias gs="git status"
alias l="ls -lvh --color=auto" alias l="ls"
alias ls="ls -lvh --color=auto"
alias s="cd ~/Source" alias s="cd ~/Source"
alias t="tmux" alias t="tmux"
alias v="vim" alias v="vim"

5
.zshrc
View file

@ -7,6 +7,11 @@ ZSH=$HOME/.oh-my-zsh
# time that oh-my-zsh is loaded. # time that oh-my-zsh is loaded.
ZSH_THEME="kphoen" 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) # List directory when changing (github/r00k)
chpwd() { chpwd() {
ls -lvh --color=auto ls -lvh --color=auto