# Handles case-insensitive completion autoload -Uz compinit && compinit zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # Configure command history HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 # Allow up arrow to be used to go back in history based on current line contents autoload -U up-line-or-beginning-search autoload -U down-line-or-beginning-search zle -N up-line-or-beginning-search zle -N down-line-or-beginning-search bindkey "^[[A" up-line-or-beginning-search # Up bindkey "^[[B" down-line-or-beginning-search # Down