1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-07 16:00:41 +01:00

zsh-navigation-tools: update to 5937e57e

Fixes #8476
This commit is contained in:
Marc Cornellà
2020-05-16 16:55:29 +02:00
parent fd786291ba
commit 587b554580
7 changed files with 352 additions and 107 deletions

View File

@@ -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"