zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh users <zsh-users@sunsite.dk>
Subject: Re: menuselection with manpages
Date: Thu, 18 May 2006 20:28:31 -0700	[thread overview]
Message-ID: <060518202832.ZM10226@torch.brasslantern.com> (raw)
In-Reply-To: <20060518220907.GX7968@fsst.voodoo.lan>

On May 19, 12:09am, Frank Terbeck wrote:
} Subject: Re: menuselection with manpages
}
} -  compadd "$@" - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
} +  compadd "$@" -P "$sect " - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
} 
}   % man 5 5 crontab
} 
} which is not what I would want. How could I get this to work sanely?

Try:

  if ((CURRENT > 2))
  then compadd "$@" - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
  else compadd "$@" -P "$sect " - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
  fi


  reply	other threads:[~2006-05-19  3:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17 15:10 Frank Terbeck
2006-05-18 22:09 ` Frank Terbeck
2006-05-19  3:28   ` Bart Schaefer [this message]
2006-05-19  4:38     ` Frank Terbeck
2006-05-19  8:31   ` Oliver Kiddle
2006-05-20  8:10     ` Frank Terbeck

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=060518202832.ZM10226@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@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).