Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Help for currently-completed argument?
- X-seq: zsh-users 14568
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: Help for currently-completed argument?
- Date: Thu, 12 Nov 2009 23:16:42 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0D8KDHstR7A5TVoTAo7ZlTSNNnY38ydxIWWY9q2nOU8=; b=qXw1qsbQ9n31Re/29C6dUeUsT1KB/VnHKH4qcj2b7xCxGZsjbb3ncUfGAtc2GLszIm KrkadhOKRlTIuJafjI6L2z1f/K6/Xv0XYocalDQjumqjwG/sYfztRcMkXQF8q4czBNaz LQsPldBQu83Dq40OmkTkNlMmtTeXjSbJLYcUo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HImVSWjYXSFl87SutKVa7C1SoKlS4Upv2pU3BIoI7XJYOZfrte0EdsOR5kUiJQCyBj Kpo2CH7DJmSZzhmxEsPtVGnwQAIzz8kxt9Tr/Im+C6joEI55yfM+ceZtD65boO537gyK fyOVuClsjfqIDCjE8NY9Hgrxi8FjgAYh5xTjU=
- In-reply-to: <alpine.LNX.2.01.0911121700030.26715@xxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <alpine.LNX.2.01.0911121700030.26715@xxxxxxxxxxx>
2009/11/12 Benjamin R. Haskell <zsh@xxxxxxxxxx>:
> While trying to learn how Zsh's completion system works, I remembered a
> question that briefly came to mind a while back:
>
> Is there a way to pull up the '[explanation]' portion of a command's
> argument completions after it's been typed?
>
> e.g. I frequently mix up various '-h', '-H', '-l', and '-L' flags, since
> they often have something to do with symlinks, but not always in the same
> direction. (Sometimes it's 'follow the symlink' sometimes 'don't
> follow'). So, when typing this:
>
> $ rsync -l
>
> Is there a function to pull up the line:
>
> --links -l -- copy symlinks as symlinks
Yes and I don't know (as in "yes and no"). If you rsync
--links<ctrl-d> you will get that line, but for rsync -l<ctrl-d> you
just get the other short options. If you know the --links part it
probably doesn't help though...
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author