dotfiles/zsh/Darwin.zshrc
Josh Sherman 945a1365c7 [zsh] adds rvm, alias and shebangs
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.
2016-11-20 11:02:09 -06:00

22 lines
494 B
Bash

#!/usr/bin/env zsh
antigen-bundle osx
export GREP_OPTIONS="--color=auto --exclude-dir=${GREP_EXCLUDE_DIR} --exclude-dir=.sass-cache"
source "`brew --prefix`/etc/grc.bashrc"
source $HOME/.rvm/scripts/rvm
# Requires sudo, saves a step
alias mtr="sudo mtr"
# Because macOS is dumb
alias mux="tmuxinator"
# Unquarantine files on OSX
alias unquarantine="xattr -r -d com.apple.quarantine *"
# Because OS X returns all caps
function uuidgen() {
env uuidgen "$@" | awk '{print tolower($0)}'
}