Created
January 26, 2015 10:49
-
-
Save cszang/b5ba12e4f7f68574a596 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
# set prompt | |
autoload -U promptinit | |
promptinit | |
export PS1="%n@%M(%~)> " | |
# completion settings | |
autoload -U compinit | |
compinit | |
zstyle ':completion:*:descriptions' format '%U%B%d%b%u' | |
zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b' | |
# record history and make it available for all open shells | |
export HISTSIZE=2000 | |
export HISTFILE="$HOME/.history" | |
export SAVEHIST=$HISTSIZE | |
setopt hist_ignore_all_dups | |
setopt incappendhistory | |
setopt sharehistory | |
setopt extendedhistory | |
# cd automatically in dir | |
setopt autocd | |
# PATH | |
export PATH=$HOME/bin:/usr/local/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment