Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: complete question



Steve Talley writes:
 > 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)?

compctl -l '' beroot

-- 
Blaise Tarr
btarr@xxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author