summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Type/_pids2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d42fae3f1..0151d9946 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-19  Oliver Kiddle  <opk@zsh.org>
+
+	* 35528: Completion/Unix/Type/_pids: allow for IPREFIX
+
 2015-06-18  Oliver Kiddle  <opk@zsh.org>
 
 	* 35474, 35492: Doc/Zsh/params.yo, Doc/Zsh/zle.yo,
diff --git a/Completion/Unix/Type/_pids b/Completion/Unix/Type/_pids
index cf9000538..dd8ef441b 100644
--- a/Completion/Unix/Type/_pids
+++ b/Completion/Unix/Type/_pids
@@ -15,7 +15,7 @@ elif [[ "$PREFIX$SUFFIX" = ([%-]*|[0-9]#) ]]; then
   all=()
   match="(*[[:blank:]]|)${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
 else
-  all=(-U)
+  all=(-P "$IPREFIX" -S "$ISUFFIX" -U)
   match="*[[:blank:]]*[[/[:blank:]]$PREFIX*$SUFFIX*"
   nm="$compstate[nmatches]"
 fi