From 62198b0326571b75735fa4fc476b8d4fbb3a47f7 Mon Sep 17 00:00:00 2001 From: Jongwook Choi Date: Mon, 6 Oct 2014 13:03:23 +0900 Subject: [PATCH] Display full command line on suggestion for the kill command For the zsh suggestion for the 'kill' command, show full command line (command: usually with arguments) instead of only the executable name (comm). --- modules/completion/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/completion/init.zsh b/modules/completion/init.zsh index 3ffad63..c64bcf4 100644 --- a/modules/completion/init.zsh +++ b/modules/completion/init.zsh @@ -116,7 +116,7 @@ zstyle ':completion:*:(rm|kill|diff):*' ignore-line other zstyle ':completion:*:rm:*' file-patterns '*:all-files' # Kill -zstyle ':completion:*:*:*:*:processes' command 'ps -u $USER -o pid,user,comm -w' +zstyle ':completion:*:*:*:*:processes' command 'ps -u $USER -o pid,user,command -w' zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;36=0=01' zstyle ':completion:*:*:kill:*' menu yes select zstyle ':completion:*:*:kill:*' force-list always