dotwryn/zsh/config

33 lines
847 B
Plaintext
Raw Normal View History

2020-11-10 16:14:06 -07:00
#!/bin/zsh
2021-09-16 15:09:36 -06:00
# ---------------------------------------------------------------------
2020-11-10 16:14:06 -07:00
2020-11-04 12:57:36 -07:00
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd beep notify
unsetopt nomatch
bindkey -v
2021-09-16 15:09:36 -06:00
bindkey '^R' history-incremental-search-backward
autoload edit-command-line
zle -N edit-command-line;
bindkey -M vicmd v edit-command-line;
# ---------------------------------------------------------------------
2020-11-04 12:57:36 -07:00
zmodload -i zsh/complist;
zstyle ':completion:*' completer _complete _ignored _approximate
zstyle ':completion:*' max-errors 1
2020-11-04 12:57:36 -07:00
zstyle ':completion:*' menu select;
bindkey -M menuselect '^M' .accept-line; # don't require 'return' to select menu item
autoload -Uz compinit
compinit
2021-09-16 15:09:36 -06:00
# ---------------------------------------------------------------------
2020-11-04 12:57:36 -07:00
which kitty >/dev/null && kitty + complete setup zsh | source /dev/stdin