mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
parent
fd786291ba
commit
587b554580
7 changed files with 352 additions and 107 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue