Created
January 18, 2015 00:16
-
-
Save zhouzhuojie/419340153f0795123e04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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="terminalparty" | |
# 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 weekly auto-update checks | |
# DISABLE_AUTO_UPDATE="true" | |
# 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 zsh-syntax-highlighting meteor git-extra wd) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
# enable color support of ls and also add handy aliases | |
if [ -x /usr/bin/dircolors ]; then | |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | |
alias ls='ls --color=auto' | |
#alias dir='dir --color=auto' | |
#alias vdir='vdir --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
fi | |
# some more ls aliases | |
alias ll='ls -alF --group-directories-first' | |
alias la='ls -A' | |
alias l='ls -CF' | |
alias search='apt-cache search' | |
alias install='sudo apt-get install' | |
alias update='sudo apt-get update' | |
alias upgrade='sudo apt-get upgrade' | |
alias webshare='python $HOME/.config/SimpleHTTPServerWithUpload/SimpleHTTPServerWithUpload.py' | |
alias fast='fastosphere' | |
setopt nocorrectall | |
#256-colour support | |
export TERM="xterm-256color" | |
export R_LIBS="/home/zzj/R/library" | |
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
source ~/.nvm/nvm.sh | |
export GOROOT=/usr/lib/go | |
export GOPATH=$HOME/go | |
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment