zsh: add new zsh completions
This commit is contained in:
parent
d0a2ed67d3
commit
50683fe436
1 changed files with 22 additions and 12 deletions
34
.zshrc
34
.zshrc
|
@ -123,20 +123,30 @@ Set the SKIP_P10K_THEME environment variable to 'true' or make a configuration t
|
|||
## ZSH Completion Options >>>
|
||||
{
|
||||
# Mine
|
||||
# zstyle ':completion:*' completer _expand _complete _ignored _prefix
|
||||
# zstyle ':completion:*' expand prefix suffix
|
||||
# zstyle ':completion:*' file-sort access
|
||||
# zstyle ':completion:*' ignore-parents parent pwd directory
|
||||
# zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
# zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
||||
# zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**'
|
||||
# zstyle ':completion:*' menu select=long
|
||||
# zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||
# zstyle :compinstall filename '/home/blake/.zshrc'
|
||||
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
|
||||
zstyle ':completion:*' completions 1
|
||||
zstyle ':completion:*' expand prefix suffix
|
||||
zstyle ':completion:*' format 'Completing %d'
|
||||
zstyle ':completion:*' glob 1
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*' ignore-parents parent pwd ..
|
||||
zstyle ':completion:*' insert-unambiguous true
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
||||
zstyle ':completion:*' list-suffixes true
|
||||
zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**'
|
||||
zstyle ':completion:*' max-errors 1 not-numeric
|
||||
zstyle ':completion:*' menu select=0
|
||||
zstyle ':completion:*' original false
|
||||
zstyle ':completion:*' prompt 'Select a correction (%e)'
|
||||
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||
zstyle ':completion:*' substitute 1
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle :compinstall filename '/home/blake/.zshrc'
|
||||
|
||||
# Manjaro's
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion
|
||||
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc)
|
||||
# zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion
|
||||
# zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc)
|
||||
zstyle ':completion:*' rehash true # automatically find new executables in path
|
||||
# Speed up completions
|
||||
zstyle ':completion:*' accept-exact '*(N)'
|
||||
|
|
Loading…
Add table
Reference in a new issue