Skip to content

Instantly share code, notes, and snippets.

@jasonmccallister
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonmccallister/1132176b60921ec21d19 to your computer and use it in GitHub Desktop.
Save jasonmccallister/1132176b60921ec21d19 to your computer and use it in GitHub Desktop.
Dotfiles
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Theme
ZSH_THEME="frisk"
# Custom plugins
plugins=(git ruby rails)
# User configuration
export JAVA_HOME=$(/usr/libexec/java_home)
# export M2_HOME="~/.m2"
# export M2="$M2_HOME/bin"
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jasonmccallister/.composer/vendor/bin:$PATH:/usr/local/go/bin"
# export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='nano'
else
export EDITOR='atom'
fi
# Aliases
alias zshconfig="atom ~/.zshrc"
alias ohmyzsh="atom ~/.oh-my-zsh"
alias reload=". ~/.zshrc"
alias start_postgres="launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist"
# export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment