From 587b5545803a40bc5dcff81f7fa79d84879b27fd Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Sat, 16 May 2020 16:55:29 +0200 Subject: zsh-navigation-tools: update to 5937e57e Fixes #8476 --- plugins/zsh-navigation-tools/_n-kill | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/zsh-navigation-tools/_n-kill') diff --git a/plugins/zsh-navigation-tools/_n-kill b/plugins/zsh-navigation-tools/_n-kill index 6f5d47971..9da68b9ec 100644 --- a/plugins/zsh-navigation-tools/_n-kill +++ b/plugins/zsh-navigation-tools/_n-kill @@ -10,8 +10,8 @@ integer cygwin=0 local IFS=" " -case "$OSTYPE" in - cygwin*) list=( `command ps -Wa` ); cygwin=1 ;; +case "$(uname)" in + CYGWIN*) list=( `command ps -Wa` ); cygwin=1 ;; *) list=( `command ps -o pid,uid,command -A` ) ;; esac @@ -36,6 +36,6 @@ for line in "${list[@]}"; do done _wanted bits expl "Processes' name bits" \ - compadd "$@" -a - words && ret=0 + compadd -M 'm:{a-z}={A-Z}' "$@" -a - words && ret=0 return "$ret" -- cgit v1.2.3-70-g09d2