zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Workers <zsh-workers@sunsite.dk>
Subject: Re: Fwd: Help command behavior with aliases
Date: Fri, 11 Mar 2005 06:26:14 +0000	[thread overview]
Message-ID: <1050311062614.ZM9690@candle.brasslantern.com> (raw)
In-Reply-To: <787bbe1c0503020013234b5de@mail.gmail.com>

} Could you explain, how to change run-help behavior?

Turns out I was wrong about this.  The alias is expanded internally to
ZLE before the run-help function is ever called, so the alias branch of
the run-help case statement is wasted.  Bothersome.

} I had an alias which let me use
} 
} % stop apache
} 
} this would run /usr/local/etc/rc.d/apache.sh stop, *and* complete
} apache grokking the whole path (two paths actually, /etc/rc.d and the
} above).
} 
} Can I get the completion part easily now?

I'm afraid I don't understand the question, in that I don't see where
completion is involved.  Can you give an example?  What's the input
before you press TAB, and what do you expect to see afterward?

} Thanks for your swift response, /S

Sorry it was so much less swift this time.


      reply	other threads:[~2005-03-11  6:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-28 18:14 Sławek Żak
2005-02-28 19:00 ` Bart Schaefer
     [not found]   ` <787bbe1c05022812417b32e471@mail.gmail.com>
2005-03-02  8:13     ` Fwd: " Sławek Żak
2005-03-11  6:26       ` Bart Schaefer [this message]

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=1050311062614.ZM9690@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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).