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 | 4 ++-- 1 file changed, 2 insertions(+), 2 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 76050f969..0d10565e4 100644 --- a/plugins/zsh-navigation-tools/n-kill +++ b/plugins/zsh-navigation-tools/n-kill @@ -42,8 +42,8 @@ NLIST_NONSELECTABLE_ELEMENTS=( 1 ) type ps 2>/dev/null 1>&2 || { echo >&2 "Error: \`ps' not found"; return 1 } -case "$OSTYPE" in - cygwin*) list=( `command ps -Wa` ) ;; +case "$(uname)" in + CYGWIN*) list=( `command ps -Wa` ) ;; *) list=( `command ps -o pid,uid,command -A` ) ;; esac -- cgit v1.2.3-70-g09d2