OS X is stupid and ships with a way old version of Ruby. RVM is the only solution but it slows the prompt down considerably so I made it OS X only. Added an alias for tmuxinator as the brew installed version doesn't alias to mux out of the box. Added shebangs to files to they are properly syntax highlighted.
16 lines
453 B
Bash
16 lines
453 B
Bash
#!/bin/zsh
|
|
|
|
alias node=nodejs
|
|
alias pbcopy='xclip -selection clipboard'
|
|
alias pbpaste='xclip -selection clipboard -o'
|
|
|
|
if [ -x /usr/bin/dircolors ]; then
|
|
test -r $HOME/.dircolors && eval "$(dircolors -b $HOME/.dircolors)" || eval "$(dircolors -b)"
|
|
alias ls="ls --color=auto"
|
|
|
|
GREP_FLAGS=" --color=auto --exclude-dir=${GREP_EXCLUDE_DIR}"
|
|
|
|
alias grep="grep ${GREP_FLAGS}"
|
|
alias egrep="egrep ${GREP_FLAGS}"
|
|
alias fgrep="fgrep ${GREP_FLAGS}"
|
|
fi
|