diff --git a/options.zsh b/options.zsh index ef9629b..24bfe4a 100644 --- a/options.zsh +++ b/options.zsh @@ -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 + diff --git a/plugins.zsh b/plugins.zsh index fd2a5ff..c7ca44d 100644 --- a/plugins.zsh +++ b/plugins.zsh @@ -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