Skip to content

Instantly share code, notes, and snippets.

@ykomatsu
Last active August 29, 2015 14:23
Show Gist options
  • Save ykomatsu/11a7fe1d8d0693f024f6 to your computer and use it in GitHub Desktop.
Save ykomatsu/11a7fe1d8d0693f024f6 to your computer and use it in GitHub Desktop.
${HOME}/.zsh.d/.zshrc
stty stop undef
export EDITOR='/usr/bin/vim'
export LD_LIBRARY_PATH='/opt/rust/lib'
bindkey -e
zstyle ':completion:*:sudo:*' environ PATH="${SUDOPATH}:${PATH}"
HISTFILE="${ZDOTDIR}/.histfile"
HISTSIZE=10000
SAVEHIST=10000
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_IGNORE_SPACE
setopt SHARE_HISTORY
autoload -Uz compinit
compinit
autoload -Uz promptinit
promptinit
prompt redhat
autoload -Uz add-zsh-hook cdr chpwd_recent_dirs
add-zsh-hook chpwd chpwd_recent_dirs
. "${ZDOTDIR}/zaw/zaw.zsh"
bindkey '^R' zaw-history
bindkey '^S' zaw-cdr
setopt MAGIC_EQUAL_SUBST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment