diff options
| author | seth <[email protected]> | 2022-09-04 11:25:30 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2022-09-12 13:41:45 -0400 |
| commit | 3055aef4801064c2b5247a1696293c1b87693d13 (patch) | |
| tree | 2d571ea75b7ab79c3137e630dab830ab8e3b8ae3 /.config/zsh/.zshrc | |
| parent | a3f264ae81ea7596f72b7d06fe577ff2dee2dd91 (diff) | |
bop
Diffstat (limited to '.config/zsh/.zshrc')
| -rw-r--r-- | .config/zsh/.zshrc | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 3857da9..976f267 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -25,42 +25,50 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] fi # zmodules -autoload -Uz compinit colors "${antidote_dir}/antidote.zsh" +autoload -Uz bashcompinit compinit colors "${antidote_dir}/antidote.zsh" colors zmodload zsh/zutil zmodload zsh/complist -zstyle ':completion::*' completer _extensions _complete _approximate +zstyle ':completion::*' add-space 'false' +zstyle ':completion::*' completer _ignored _expand_alias _expand _extensions _complete _approximate zstyle ':completion::*' group-name '' zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} -zstyle ':completion:*' list-dirs-first true -zstyle ':completion:*' menu select -zstyle ':completion::*' use-cache on +zstyle ':completion:*' menu 'true' 'select' +zstyle ':completion:*' single-ignored 'show' +zstyle ':completion:*' squeeze-slashes 'true' +zstyle ':completion::*' use-cache 'true' zstyle ':completion::*' cache-path "$zdump" # compile completion +bashcompinit compinit -d "$zdump" if [[ ! "${zdump}.zwc" -nt "$zdump" ]] then zcompile "$zdump" fi +unset zdump # load plugins source "$static_file" +unset antidote_dir plugins_file static_file +eval "$(zoxide init zsh)" # options +unsetopt beep unsetopt hist_beep +unsetopt ignore_braces unsetopt list_beep +setopt always_to_end +setopt emacs setopt hist_expire_dups_first +setopt hist_ignore_all_dups setopt hist_ignore_dups setopt hist_ignore_space setopt inc_append_history setopt prompt_subst setopt share_history -# binds -bindkey -e - -## clear backbuffer with ctrl-l +# clear backbuffer with ctrl-l function clear-screen-and-scrollback() { echoti civis >"$TTY" printf '%b' '\e[H\e[2J' >"$TTY" |
