Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problem with _arguments
- X-seq: zsh-users 11012
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "zsh-users@xxxxxxxxxx" <zsh-users@xxxxxxxxxx>
- Subject: Problem with _arguments
- Date: Tue, 21 Nov 2006 23:57:55 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=apwHpWsjQ5uxhEp7TuY5qqaFZFltKbT6yUtlEyk5Lmrc0c4Cd6kGoxDIh0nxxEGIvrug/fykOKE27hV4E0pw5BE3S1qA7I3hFe+UJfXqUatyqFnZ+A655n/u0t9Y9VJHh7QbGf2Ji4ZDWY1Vv5M25UF2DfRgGmDbNYiWEjb97uY=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
Say that I have
#compdef craptastic
_arguments \
'-s[omething]:with an argument' \
'*:directory:_directories'
Then, at least with my setup, if I have the following command line and
press <Tab> I get:
% craptastic -s <Tab>
::: with an argument :::
but if I have the following and press <Tab> I get:
% craptastic src -s <Tab>
::: with an argument :::
::: directory :::
Why is directory all of a sudden a viable option here?
It makes no sense. No banging my fists against my head has made me
any wiser (and, believe you me, I've tried...repeatedly).
a really f:ing pissed off nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author