From 5da5f3ef5bb80f0393c22129a9a502bd235ff774 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 17 Dec 2021 18:20:40 -0800 Subject: [PATCH] zsh: Set histignoredups option --- zsh/.zshrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 3e82a5f..2c2ce6d 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,24 +1,24 @@ #!/usr/bin/env zsh -# Lines configured by zsh-newuser-install +# History HISTFILE=~/.config/zsh/histfile HISTSIZE=1000000 SAVEHIST=1000000 DIRSTACKSIZE=100 -setopt appendhistory extendedglob nomatch -setopt autopushd pushdsilent pushdtohome histignorespace +setopt appendhistory histignorespace histignoredups + +setopt extendedglob nomatch +setopt autopushd pushdsilent pushdtohome unsetopt beep autocd notify 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:*' matcher-list '' 'l:|=* r:|=*' 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=** r:|=**' zstyle :compinstall filename "$HOME/.zshrc" autoload -Uz compinit compinit -# End of lines added by compinstall # prompt autoload -U colors