Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
oggenc tabcompletion itch
- X-seq: zsh-workers 23825
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: oggenc tabcompletion itch
- Date: Mon, 24 Sep 2007 22:27:32 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=9K9/C5/qoqm4oLIeoYWrwoeX93THbPFSgn/ywFuUskY=; b=ZOtJvoK07kvPX5OtKmVX2UQem0KZZOgm/ytMddJYUoYEPSjWiOHTn9yEdsyk4f9ewrpUrEHiLcoo2xBnb2rYvJI46lk0OL7yUUkVDPbt0EWu2HKlnu2YswE91Qw5Lw6DhAM2mZwznkZTDbbSTERnIgwZwEZ8IquQuCWmpIYxaNc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PwWzacguEEJtsUv8tZb3thcUkrXzL9d/5+YcCPznvPtCw9CsK8dJssFw84y0UGy3MUSC94VQ/SZSwhxmhDpyW9hkr2hRp5DC7KW1t93AYk2hyUEItdR2AnnnfpIZj6ZXoP6VfJrZm6ngV05pMhFd/C42KhFPtaiMU39pBhp6yok=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
The options completion for oggenc wants options like -q 3 with a
space, but oggenc accepts -q3 without a space happily too. Being lazy
i usually type -q3 without the space, but then oggenc -q3 <tab>
completes {1..10} instead of filenames, which is my issue.
Is there any easy way to modify the _vorbis completion file to fix
this? (probably also applies to all the other options, though i use
them more rarely).
the line for -q in _vorbis looks like
'(-q --quality)'{-q,--quality=}'[set encoding
quality]:quality:(0 1 2 3 4 5 6 7 8 9 10)' \
and is sent to _arguments -s
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author