Skip to content

Instantly share code, notes, and snippets.

@karlstolley
Created April 24, 2012 20:09
Show Gist options
  • Save karlstolley/2483301 to your computer and use it in GitHub Desktop.
Save karlstolley/2483301 to your computer and use it in GitHub Desktop.
Campus Mac .zshrc
# https://github.com/robbyrussell/oh-my-zsh
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
export ZSH_THEME="gallois"
# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# export DISABLE_AUTO_TITLE="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git ruby)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH="/usr/local/bin:/usr/local/sbin:$HOME/bin:$PATH"
# Karl's Aliases
alias bbe="bbedit"
alias c="clear"
#alias lynx="lynx -nocolor"
# Sloppy typing
alias ls-la="ls -la"
# Karl's Git Aliases
alias gits='git status'
alias gita='git add'
alias gitm='git commit -m'
alias gitam='git commit -am'
alias gitpom='git push origin master'
alias gitplm='git pull origin master'
alias gitl='git log --pretty=oneline --abbrev-commit'
alias gitlf='git log --pretty=oneline --abbrev-commit --name-only'
alias gitdw='git diff --color-words'
alias gitra='git remote add'
alias gitcb='git checkout -b'
# Hub - https://github.com/defunkt/hub
# alias git=hub
# RVM
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment