From cf857241e1ad7029c75fb3b4e40acb346d9bdb22 Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 22 Jul 2020 14:32:01 -0500 Subject: zsh: fix history and allow case-insensitive glob --- .config/zsh/.zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.config/zsh') diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 70c4286..584ef80 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -21,10 +21,11 @@ setopt interactive_comments setopt complete_in_word # complete both ends of words setopt always_to_end # and move cursor to the end afterward setopt auto_menu # brings up the menu ... -unsetopt menu_complete # ... and does not select the first option +setopt no_menu_complete # ... and does not select the first option setopt auto_param_slash # convenience: add trailing / after directories setopt extended_glob -unsetopt flow_control +setopt no_case_glob +setopt no_flow_control zstyle ':completion:*' special-dirs true # cache completions zstyle ':completion::complete:*' use-cache yes @@ -33,7 +34,7 @@ zstyle ':completion::complete:*' cache-path "$HOME/.zcompcache" autoload -Uz compinit && compinit # history -HISTFILE="$HOME/.zsh_history" +HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history HISTSIZE=10000 SAVEHIST=$HISTSIZE setopt extended_history # write timestamp -- cgit