zsh: Set histignoredups option
This commit is contained in:
parent
aef26f2d8f
commit
5da5f3ef5b
1 changed files with 6 additions and 6 deletions
12
zsh/.zshrc
12
zsh/.zshrc
|
|
@ -1,24 +1,24 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
# Lines configured by zsh-newuser-install
|
# History
|
||||||
HISTFILE=~/.config/zsh/histfile
|
HISTFILE=~/.config/zsh/histfile
|
||||||
HISTSIZE=1000000
|
HISTSIZE=1000000
|
||||||
SAVEHIST=1000000
|
SAVEHIST=1000000
|
||||||
DIRSTACKSIZE=100
|
DIRSTACKSIZE=100
|
||||||
setopt appendhistory extendedglob nomatch
|
setopt appendhistory histignorespace histignoredups
|
||||||
setopt autopushd pushdsilent pushdtohome histignorespace
|
|
||||||
|
setopt extendedglob nomatch
|
||||||
|
setopt autopushd pushdsilent pushdtohome
|
||||||
unsetopt beep autocd notify
|
unsetopt beep autocd notify
|
||||||
bindkey -e
|
bindkey -e
|
||||||
# End of lines configured by zsh-newuser-install
|
|
||||||
# The following lines were added by compinstall
|
|
||||||
|
|
||||||
|
# Completion
|
||||||
zstyle ':completion:*' _expand completer _complete _ignored
|
zstyle ':completion:*' _expand completer _complete _ignored
|
||||||
zstyle ':completion:*' matcher-list '' 'l:|=* r:|=*' 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=** r:|=**'
|
zstyle ':completion:*' matcher-list '' 'l:|=* r:|=*' 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=** r:|=**'
|
||||||
zstyle :compinstall filename "$HOME/.zshrc"
|
zstyle :compinstall filename "$HOME/.zshrc"
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
# End of lines added by compinstall
|
|
||||||
|
|
||||||
# prompt
|
# prompt
|
||||||
autoload -U colors
|
autoload -U colors
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue