Автодополнение для kill и killall

This commit is contained in:
Andrei Astafev 2021-03-11 12:08:10 +03:00
parent ecbcc2e8cd
commit f895320362
2 changed files with 12 additions and 0 deletions

View File

@ -15,3 +15,12 @@ fi
zmodload -i zsh/complist
zstyle ':completion:*:processes' command 'ps -ax'
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;32'
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
zstyle ':completion:*:processes-names' command 'ps -e -o comm='
zstyle ':completion:*:*:killall:*' menu yes select
zstyle ':completion:*:killall:*' force-list always

View File

@ -26,6 +26,9 @@ if command -v fzf > /dev/null 2>&1; then
if [ -e /usr/share/doc/fzf/examples/key-bindings.zsh ]; then
. /usr/share/doc/fzf/examples/key-bindings.zsh
fi
if [ -e /usr/share/doc/fzf/examples/completion.zsh ]; then
. /usr/share/doc/fzf/examples/completion.zsh
fi
fi
if command -v git > /dev/null 2>&1; then
antibody bundle ohmyzsh/ohmyzsh path:plugins/git