Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: bugfixes for _rpm
- X-seq: zsh-workers 10940
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Adam Spiers <adam@xxxxxxxxxx>, zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: bugfixes for _rpm
- Date: Wed, 26 Apr 2000 17:23:39 +0000
- In-reply-to: <20000426173759.A11067@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000426173759.A11067@xxxxxxxxxxxxxxxxxxxxxxx>
On Apr 26, 5:37pm, Adam Spiers wrote:
} Subject: PATCH: bugfixes for _rpm
}
} --rmsource completion still doesn't work exactly as I'd like it to
} after the patch is applied - it completes all files, not just *.spec.
} Have I done something wrong, or do I have to finally take the plunge
} and try to understand the file-patterns style?
You've done something wrong.
} + spec_file)
} + _wanted specfiles expl 'spec file' \
} + _files "$expl[@]" -g \*.spec && ret=0
} + ;;
Take that "$expl[@]" out of there, you don't need it and it's ultimately
causing an empty string as an argument to _files. (Could that be a bug
elsewhere? Shouldn't "$foo[@]" completely disappear, as does "$@"?)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author