about summary refs log tree commit diff
path: root/Completion/Solaris/Command/_ptree
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-02-14 18:11:44 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-02-14 18:11:44 +0000
commit4ae72f2255de439682444d2e0d33eefa3f2796de (patch)
treed699783973b1a690571b33d5a600c35736d95f0c /Completion/Solaris/Command/_ptree
parent3246dee5a25d47588ff36a9d6c429e2b091d9c7d (diff)
downloadzsh-4ae72f2255de439682444d2e0d33eefa3f2796de.tar.gz
zsh-4ae72f2255de439682444d2e0d33eefa3f2796de.tar.xz
zsh-4ae72f2255de439682444d2e0d33eefa3f2796de.zip
Danek Duvall: 26571: Additions for Solaris
Diffstat (limited to 'Completion/Solaris/Command/_ptree')
-rw-r--r--Completion/Solaris/Command/_ptree2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Solaris/Command/_ptree b/Completion/Solaris/Command/_ptree
index c75a211c4..031007ba8 100644
--- a/Completion/Solaris/Command/_ptree
+++ b/Completion/Solaris/Command/_ptree
@@ -12,7 +12,7 @@ _ptree() {
 
 	if [[ $ret -ne 0 ]]; then
 		_alternative \
-			'users:logged-in user:(${$(who -q)\:#(users=*|\#)})' \
+			'users:logged-in user:compadd ${$(who -q)\:#(users=*|\#)}' \
 			'pids:pid:_pids'
 		ret=$?
 	fi