From 1e5813dc35b0ebbe7163fc241738ba9480d84748 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Tue, 10 Oct 2017 10:58:45 +0100 Subject: [PATCH] zshrc: add more options & clean up --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index d7d4cbc..b3aec30 100644 --- a/.zshrc +++ b/.zshrc @@ -15,7 +15,8 @@ mkdir -p $ZSH_CACHE_DIR $ZSH_CONFIG_DIR HISTFILE=$ZSH_CONFIG_DIR/histfile HISTSIZE=100000 SAVEHIST=100000 -setopt sharehistory histignoredups histignorespace histreduceblanks autocd autopushd extendedglob alwaystoend dvorak +setopt sharehistory histignorealldups histignorespace histreduceblanks +setopt pathdirs autocd autopushd correctall extendedglob alwaystoend dvorak # Only set tty if running interactively if tty -s; then @@ -61,7 +62,6 @@ source $ZSH/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}") ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(history-substring-search-up history-substring-search-down) -setopt HIST_IGNORE_ALL_DUPS ZSH_HIGHLIGHT_STYLES[default]='fg=blue' ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold' ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=yellow'