Reorder options and make them lower case
This commit is contained in:
parent
c3c6b83313
commit
d7daa09b22
30
zshrc
30
zshrc
@ -6,22 +6,25 @@ plugin-load() { source ~/.config/zsh/$1/$1.plugin.zsh }
|
|||||||
plugin-load zsh-syntax-highlighting
|
plugin-load zsh-syntax-highlighting
|
||||||
plugin-load zsh-history-substring-search
|
plugin-load zsh-history-substring-search
|
||||||
|
|
||||||
# Disable sound
|
|
||||||
unsetopt BEEP
|
|
||||||
|
|
||||||
# Remove duplicates from history
|
# Remove duplicates from history
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt hist_ignore_all_dups
|
||||||
setopt HIST_REDUCE_BLANKS
|
setopt hist_reduce_blanks
|
||||||
setopt HIST_SAVE_NO_DUPS
|
setopt hist_save_no_dups
|
||||||
|
|
||||||
# Enable multi-terminal history
|
# Enable multi-terminal history
|
||||||
setopt INC_APPEND_HISTORY
|
setopt inc_append_history
|
||||||
|
|
||||||
# Disable '<Ctrl>D' to logout
|
|
||||||
setopt IGNORE_EOF
|
|
||||||
|
|
||||||
# Enable comments in the prompt
|
# Enable comments in the prompt
|
||||||
setopt INTERACTIVE_COMMENTS
|
setopt interactive_comments
|
||||||
|
|
||||||
|
# Disable '<Ctrl>D' to logout
|
||||||
|
setopt ignore_eof
|
||||||
|
|
||||||
|
# Disable sound
|
||||||
|
unsetopt beep
|
||||||
|
|
||||||
|
# Disable tty flow control, allows vim to use '<Ctrl>S'
|
||||||
|
unsetopt flow_control
|
||||||
|
|
||||||
# Initialize completions
|
# Initialize completions
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
@ -32,7 +35,7 @@ autoload -Uz promptinit
|
|||||||
promptinit
|
promptinit
|
||||||
prompt fresh
|
prompt fresh
|
||||||
|
|
||||||
# Enable vi mode
|
# Enable vi mode line editor keymap
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
# Enable yank, change, and delete whole line with 'Y', 'C', and 'D'
|
# Enable yank, change, and delete whole line with 'Y', 'C', and 'D'
|
||||||
@ -60,9 +63,6 @@ autoload -U edit-command-line
|
|||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
bindkey -M vicmd '^V' edit-command-line
|
bindkey -M vicmd '^V' edit-command-line
|
||||||
|
|
||||||
# Disable tty flow control, allows vim to use '<Ctrl>S'
|
|
||||||
stty -ixon
|
|
||||||
|
|
||||||
# Remove duplicates from environment variables
|
# Remove duplicates from environment variables
|
||||||
typeset -U PATH
|
typeset -U PATH
|
||||||
typeset -U MANPATH
|
typeset -U MANPATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user