feat: zsh options

auto-complete and space-to-ignore
This commit is contained in:
David JULIEN 2021-09-07 23:53:37 +02:00
parent 83809e1988
commit 786862340e
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ bindkey '^[[6~' down-line-or-history # PageDown
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history
setopt hist_ignore_space # Ignore commands preceeded by a space
# Basic auto/tab complete:
autoload -U compinit
@ -27,6 +28,9 @@ zmodload zsh/complist
compinit
_comp_options+=(globdots) # Include hidden files.
# Command correction
setopt correctall
# vi mode
bindkey -v
export KEYTIMEOUT=1