zsh-workers
 help / color / mirror / code / Atom feed
From: greg@alphatech.com (Greg Klanderman)
To: zsh-workers@math.gatech.edu (Zsh list)
Subject: quick question about user defined zle widgets
Date: Thu, 5 Nov 1998 12:51:32 -0500 (EST)	[thread overview]
Message-ID: <13889.58788.469493.330819@catbus.alphatech.com> (raw)



Is it possible when defining a shell function as a user defined 
widget to access the prefix argument?

Also, is there any way when calling a builtin widget to figure out
the status?  For example, I'd like to do "zle complete-word" in my
widget and then determine if:

  - it completed something
  - there were no completions
  - choices were listed
  - choices had already been listed and it did nothing

thanks
Greg
(please copy me on replies)

have i mentioned yet that zsh is a thing of beauty?


             reply	other threads:[~1998-11-05 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-05 17:51 Greg Klanderman [this message]
1998-11-05 18:32 ` 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=13889.58788.469493.330819@catbus.alphatech.com \
    --to=greg@alphatech.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).