Skip to content

Instantly share code, notes, and snippets.

@lvguowei
Created September 29, 2013 14:09
Show Gist options
  • Save lvguowei/6752849 to your computer and use it in GitHub Desktop.
Save lvguowei/6752849 to your computer and use it in GitHub Desktop.
zshrc
fpath=(~/config/zsh/functions $fpath)
autoload -U compinit && compinit
## Command history configuration
HISTFILE=$HOME/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt append_history
setopt extended_history
setopt hist_expire_dups_first
setopt hist_ignore_dups # ignore duplication command history list
setopt hist_ignore_space
setopt hist_verify
setopt inc_append_history
# setopt share_history
bindkey '\e[A' history-beginning-search-backward
bindkey '\e[B' history-beginning-search-forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment