From: "Adam R. Paul" <adamp@sco.com>
To: "Erwin J. van Eijk" <eijk@huygens.org>
Cc: zsh-users@math.gatech.edu
Subject: Re: Compctl question
Date: Mon, 2 Feb 1998 07:58:21 -0800 [thread overview]
Message-ID: <19980202075821.18238@sco.com> (raw)
In-Reply-To: <199802021257.NAA01763@hyper.huygens.org>; from Erwin J. van Eijk on Mon, Feb 02, 1998 at 01:57:12PM +0100
On 02 Feb, 1998, Erwin J. van Eijk put forth:
> Hi
>
> This is in the manpage somewhere, but I can't quite get a fix on how
> to do it.
>
> I have a command named really, which has the following cmd line:
>
> really [-u username] [-s shell] command
>
> And I want to compose a compctl for it, but I can't quite do it.
Something like:
getshells() {
reply=($(sed '/#.*/d' /etc/shells))
}
compctl -l '' -x 'c[-1,-u]' -u -x 'c[-1,-s]' -K getshells -- really
should work (it appears to for me at least...)
_Adam
-----
Adam R. Paul - adamp@sco.com
SCO Engineering - from std import disclaimer
Oahagggoo. Iongah agbh ouht chmmaeao thg thm'eiagg.
next prev parent reply other threads:[~1998-02-02 16:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-02 12:57 Erwin J. van Eijk
1998-02-02 15:58 ` Adam R. Paul [this message]
1999-05-07 17:44 compctl question Philip J. Hollenback
1999-05-07 18:02 ` Sweth Chandramouli
1999-05-10 11:15 Sven Wischnowsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19980202075821.18238@sco.com \
--to=adamp@sco.com \
--cc=eijk@huygens.org \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).