Автодополнение для kill и killall
This commit is contained in:
parent
ecbcc2e8cd
commit
f895320362
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user