diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-14 19:54:42 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-14 19:54:42 -0600 |
commit | a16fe1511ccf698432b7bbaccf250a7739ed2a92 (patch) | |
tree | ee5e6ed90702bf1691bd580a09c1745d898f768b /plugins/zsh-navigation-tools/n-kill | |
parent | a2baf45bce6bb8b501512233441af8f65f90a775 (diff) | |
parent | 31a84e710f2006176402be6b76ce370dabfc95d3 (diff) | |
download | zsh-a16fe1511ccf698432b7bbaccf250a7739ed2a92.tar.gz zsh-a16fe1511ccf698432b7bbaccf250a7739ed2a92.tar.bz2 zsh-a16fe1511ccf698432b7bbaccf250a7739ed2a92.zip |
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/zsh-navigation-tools/n-kill')
-rw-r--r-- | plugins/zsh-navigation-tools/n-kill | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/zsh-navigation-tools/n-kill b/plugins/zsh-navigation-tools/n-kill index 0d10565e4..76050f969 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 "$(uname)" in - CYGWIN*) list=( `command ps -Wa` ) ;; +case "$OSTYPE" in + cygwin*) list=( `command ps -Wa` ) ;; *) list=( `command ps -o pid,uid,command -A` ) ;; esac |