zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: schaefer@nbn.com
Cc: zsh-workers@math.gatech.edu
Subject: Re: Default compctls
Date: Sat, 6 Jul 1996 19:38:39 +0100 (BST)	[thread overview]
Message-ID: <16887.199607061838@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <960706105029.ZM17352@candle.brasslantern.com> from "Bart Schaefer" at Jul 6, 96 10:50:27 am

>compctl -c -		# BUG!  `-' has special meaning to `compctl'!

compctl -c - -

compctl -L will list it in this form too.


>Further, there doesn't seem to be any reason not to include the following
>additional defaults:
[...]

Actually, I don't see the point in having any default completions at
all (except for the -C, -D and -T completions, of course).  The
compctl-examples script already has completions for (almost?) all
builtins, and I'd rather not have the shell default to this fairly
arbitrary magic behaviour.  Besides, how clever should the default
completion for, say, `kill` be?  (Include signal names?  Process IDs?)

>As a final remark, it would be nice if `emulate', `limit', `trap' and
>`ulimit' had some built-in equivalents of `compctl -k "(...)"' because
>there's no obvious way to generate the lists of emulations or limits;
>and `compctl -k "($(kill -l))" trap' is just re-using a list that was
>already generated at compile time, so it might as well get compiled in
>as a completion as well.

There's already a list of signals available.  $signals[2,-3] is the
list of signals you can actually send to a process.  $signals itself is
the list of trappable `signals'.  I think there's room for a $limits
array, though.

-zefram



  parent reply	other threads:[~1996-07-06 18:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-06 17:50 Bart Schaefer
1996-07-06 18:10 ` Zoltan Hidvegi
1996-07-06 19:07   ` Bart Schaefer
1996-07-06 18:38 ` Zefram [this message]
1996-07-06 20:01   ` Bart Schaefer

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=16887.199607061838@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=schaefer@nbn.com \
    --cc=zsh-workers@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).