helm/zsh/config

54 lines
1,016 B
Plaintext
Raw Normal View History

# Disable autocorrect behavior, very annoying!
2013-03-08 21:18:10 -08:00
unsetopt correct_all
2013-03-03 05:49:37 -08:00
# HISTORY
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
2013-03-21 19:25:31 -07:00
# Don't overwrite, append!
setopt APPEND_HISTORY
# Sharing history between shell instances
setopt SHARE_HISTORY
# If I type cd and then cd again, only save the last one
setopt HIST_IGNORE_DUPS
# Don't save lines that are just whitespace
setopt HIST_IGNORE_SPACE
setopt HIST_NO_STORE
# Reduce extra whitespace
setopt HIST_REDUCE_BLANKS
# Save time and how long a command ran
setopt EXTENDED_HISTORY
# Beep boop
setopt NO_BEEP
setopt EXTENDED_GLOB
setopt PROMPT_SUBST
setopt COMPLETE_IN_WORD
setopt NO_AUTO_MENU
setopt NO_ALWAYS_LAST_PROMPT
setopt PROMPTSUBST
setopt AUTO_PUSHD
setopt PUSHD_IGNORE_DUPS
2013-03-03 05:49:37 -08:00
2013-03-16 14:57:09 -07:00
export EDITOR=vim
2013-03-03 05:49:37 -08:00
export RUBYOPT=rubygems
COMPLETION_WAITING_DOTS="true"
2013-03-22 18:10:59 -07:00
2013-08-02 12:37:20 -07:00
# Make zsh prompt act like vi
zle -N edit-command-line
bindkey '^f' edit-command-line
2013-08-02 13:23:37 -07:00
bindkey '^w' backward-kill-word
bindkey '^a' beginning-of-line
bindkey '^e' end-of-line
2013-03-22 18:10:59 -07:00
# vim:set ft=zsh: