dotwryn/zsh/rc.d/01.config-zsh.zsh

30 lines
758 B
Bash
Raw Normal View History

#####################################################################
2020-11-10 16:14:06 -07:00
HISTFILE=~/.local/zsh.history
HISTSIZE=10000
SAVEHIST=10000
2020-11-04 12:57:36 -07:00
2022-04-04 11:05:27 -06:00
setopt appendhistory autocd beep notify HIST_IGNORE_SPACE
2020-11-04 12:57:36 -07:00
unsetopt nomatch
bindkey -v
2021-09-16 15:09:36 -06:00
bindkey '^R' history-incremental-search-backward
# ESC,v to use $EDITOR to modify the current command
2021-09-16 15:09:36 -06:00
autoload edit-command-line
zle -N edit-command-line
bindkey -M vicmd v edit-command-line
2021-09-16 15:09:36 -06:00
# zsh auto/tab-completion engine
zmodload -i zsh/complist
autoload -Uz compinit
compinit
2020-11-04 12:57:36 -07:00
zstyle ':completion:*' completer _complete _ignored _approximate
zstyle ':completion:*' max-errors 1
zstyle ':completion:*' menu select
bindkey -M menuselect '^M' .accept-line
2020-11-04 12:57:36 -07:00
#####################################################################
return 0