1
0
Fork 0

Improve Zsh completions

Don't complete directory stack, add keybind for filtering completions.
This commit is contained in:
tastytea 2022-05-01 08:37:55 +02:00
parent 0c933d0a6b
commit 59c208db6c
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|
zstyle ':completion:*' file-sort modification # access didn't work.
zstyle ':completion:*' sort false # Needed for file-sort.
zstyle ':completion:*:processes' command "ps -u $USER -o pid,user,comm,cmd -w -w"
zstyle ':completion:*' complete-options true
compdef '_dispatch git git' config # git completions for config.

View File

@ -78,3 +78,6 @@ bindkey '^q' push-line-or-edit
autoload edit-command-line; zle -N edit-command-line
bindkey '^[e' edit-command-line
bindkey '^x^e' edit-command-line
# Interactive mode in completions (filter)
bindkey -M menuselect '^xf' vi-insert