Skip to content

Commit

Permalink
Add zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjbray committed Dec 12, 2012
1 parent aa2ad79 commit 24b7c5f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Path to your oh-my-zsh configuration.
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.
ZSH_THEME="robbyrussell"

# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"

# Comment this out to disable bi-weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"

# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
# export UPDATE_ZSH_DAYS=13

# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"

# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git ruby rails rvm)

source $ZSH/oh-my-zsh.sh

# Customize to your needs...

# Use Vim keys
bindkey -v

# Bind reverse history search to C-R
bindkey "^R" history-incremental-search-backward

# Load RVM into a shell session *as a function*
[[ -s "/home/matt/.rvm/scripts/rvm" ]] && source "/home/matt/.rvm/scripts/rvm"

# Alias for git dotfiles repository
alias git-dotfiles="git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME"

0 comments on commit 24b7c5f

Please sign in to comment.