Skip to content

Instantly share code, notes, and snippets.

@ryenbeatty
Created March 18, 2015 23:43
Show Gist options
  • Select an option

  • Save ryenbeatty/72c87e05612b070b2416 to your computer and use it in GitHub Desktop.

Select an option

Save ryenbeatty/72c87e05612b070b2416 to your computer and use it in GitHub Desktop.
# path to oh-my-zsh
export ZSH=$HOME/.oh-my-zsh
# theme
# ~/.oh-my-zsh/themes/
ZSH_THEME="sorin"
# plugins to load
# custom plugins ~/.oh-my-zsh/custom/plugins/
# eg: plugins=(rails git textmate ruby lighthouse)
plugins=(git)
source $ZSH/oh-my-zsh.sh
# User configuration
export PATH=$HOME/bin:/usr/local/bin:$PATH
# use vim as the visual editor
export VISUAL=vim
export EDITOR=$VISUAL
# ssh
export SSH_KEY_PATH="~/.ssh/dsa_id"
# mysql
export PATH=/usr/local/mysql/bin:$PATH
# handy keybindings
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
bindkey "^R" history-incremental-search-backward
bindkey "^P" history-search-backward
# various
MAIL=0
# auto load ssh
plugins=(git ssh-agent)
# npm
NPM_PACKAGES=/Users/schwyz/.npm-packages
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$$"
PATH="$NPM_PACKAGES/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment