Skip to content

Instantly share code, notes, and snippets.

@ouyangzhiping
Created June 29, 2011 05:28
Show Gist options
  • Save ouyangzhiping/1053214 to your computer and use it in GitHub Desktop.
Save ouyangzhiping/1053214 to your computer and use it in GitHub Desktop.
.zshrc文件配置示例
# 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.
# 配置theme,这是默认的theme.
export ZSH_THEME="robbyrussell"
# 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)
# 支持一些rails3开发常用的plugins.
plugins=(rails3 rails git textmate ruby rvm gem git github brew bundler textmate pow)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin:/opt/local/bin
# 支持open gem
export GEM_EDITOR="mate"
export BUNDLER_EDITOR="mate"
# 支持rvm
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment