dotwryn/zsh/config

27 lines
678 B
Plaintext
Raw Normal View History

2020-11-10 23:14:06 +00:00
#!/bin/zsh
2020-11-04 19:57:36 +00:00
# --- General ZSH Settings -----------------------------------
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd beep notify
unsetopt nomatch
bindkey -v
# --- Autocompletion Settings --------------------------------
zmodload -i zsh/complist;
zstyle ':completion:*' completer _complete _ignored _approximate
zstyle ':completion:*' max-errors 1
2020-11-04 19:57:36 +00:00
zstyle ':completion:*' menu select;
bindkey -M menuselect '^M' .accept-line; # don't require 'return' to select menu item
autoload -Uz compinit
compinit
# --- Enable completion in kitty-terminal --------------------
which kitty >/dev/null && kitty + complete setup zsh | source /dev/stdin