about summary refs log tree commit diff
path: root/Completion/Unix/Command/_ps
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-05-11 12:11:25 +0200
committerOliver Kiddle <opk@zsh.org>2015-05-11 12:11:32 +0200
commit5b7e50dcd0786a47e180499c9a7a28cffcd73c1d (patch)
tree087dd99331442b8b24825477262f723216d22f98 /Completion/Unix/Command/_ps
parentd756f4eafd5d9f5fb3125d88d6a8b703b3ab6078 (diff)
downloadzsh-5b7e50dcd0786a47e180499c9a7a28cffcd73c1d.tar.gz
zsh-5b7e50dcd0786a47e180499c9a7a28cffcd73c1d.tar.xz
zsh-5b7e50dcd0786a47e180499c9a7a28cffcd73c1d.zip
35049: allow jail completion to include jid 0 for the host and to
complete jails by any parameter
Diffstat (limited to 'Completion/Unix/Command/_ps')
-rw-r--r--Completion/Unix/Command/_ps2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ps b/Completion/Unix/Command/_ps
index 925f48390..e557b27b9 100644
--- a/Completion/Unix/Command/_ps
+++ b/Completion/Unix/Command/_ps
@@ -160,7 +160,7 @@ if (( CURRENT > 1 )) && [[ $OSTYPE != solaris* || ( $OSTYPE = linux-gnu && $word
       _wanted -C option-k-1 properties expl 'property' _sequence -s , _ps_props -s - && return
     ;;
     *G) _sequence -s , _groups && return ;;
-    *J) _sequence -s , _jails && return ;;
+    *J) _sequence _jails -0 && return ;;
     *[MNW]) _files && return ;;
     *t)
       _wanted -C option-t-1 ttys expl tty _sequence -s , \