Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
complete question
- X-seq: zsh-users 813
- From: stephen.talley@xxxxxxxxxxxxxxx (Steve Talley)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: complete question
- Date: Mon, 14 Apr 1997 14:12:12 -0600
I have a command "beroot" that executes any arguments as root. i.e.
% beroot id -a
prints out:
uid=0(root) gid=10(staff) groups=10(staff),14(sysadmin)
How can I get zsh to complete the first parameter as a command, and the
rest using default completion (files)?
I've tried "compctl -x 'p[1]' -c -- beroot", which does work for the
1st argument, but doesn't apply default completion to the other
arguments.
Any suggestions?
TIA,
Steve
~~
stephen.talley@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author