about summary refs log tree commit diff
path: root/.config/zsh
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-07-22 14:32:01 -0500
committerStarfall <us@starfall.systems>2020-07-22 14:37:04 -0500
commitcf857241e1ad7029c75fb3b4e40acb346d9bdb22 (patch)
treef777b93d2c655c23b07f4a23115a66c686effd9b /.config/zsh
parent30c9f1d24891ccf1f6da8c0d491b5ff9deeecfd1 (diff)
zsh: fix history and allow case-insensitive glob
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc7
1 files changed, 4 insertions, 3 deletions
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          # <tab><tab> 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