summary refs log tree commit diff
path: root/Completion/Solaris/Command/_ptree
diff options
context:
space:
mode:
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