Last active
August 29, 2015 14:23
-
-
Save ykomatsu/11a7fe1d8d0693f024f6 to your computer and use it in GitHub Desktop.
${HOME}/.zsh.d/.zshrc
This file contains hidden or 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
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