Describe some zsh options and fix case
This commit is contained in:
parent
bc6476286b
commit
48b4a09daa
44
zsh/config
44
zsh/config
|
@ -5,19 +5,37 @@ unsetopt correct_all
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
setopt share_history
|
|
||||||
setopt hist_ignore_dups
|
# Don't overwrite, append!
|
||||||
setopt hist_ignore_space
|
setopt APPEND_HISTORY
|
||||||
setopt extended_history
|
|
||||||
setopt no_beep
|
# Sharing history between shell instances
|
||||||
setopt extendedglob
|
setopt SHARE_HISTORY
|
||||||
setopt prompt_subst
|
|
||||||
setopt complete_in_word
|
# If I type cd and then cd again, only save the last one
|
||||||
setopt no_auto_menu
|
setopt HIST_IGNORE_DUPS
|
||||||
setopt no_always_last_prompt
|
|
||||||
setopt promptsubst
|
# Don't save lines that are just whitespace
|
||||||
setopt autopushd
|
setopt HIST_IGNORE_SPACE
|
||||||
setopt pushdignoredups
|
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
|
||||||
|
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export RUBYOPT=rubygems
|
export RUBYOPT=rubygems
|
||||||
|
|
Loading…
Reference in a new issue