* 3.1.9, bug in apt-get completion?
@ 2000-06-07 21:37 Bruce Stephens
2000-06-08 3:00 ` Tanaka Akira
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Stephens @ 2000-06-07 21:37 UTC (permalink / raw)
To: zsh-users
Since 3.1.7 (which was packaged for debian woody a short time ago),
the package for apt-get install hasn't completed properly:
# exec zsh -f
# autoload -U compinit
# compinit
# apt-get install a<TAB>
_alternative:-1: parse error near `||'
_alternative:70: command not found: _
Any ideas where the problem might be? It could be a fault in the
packaging, or it could be I need to redump the completions?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 3.1.9, bug in apt-get completion?
2000-06-07 21:37 3.1.9, bug in apt-get completion? Bruce Stephens
@ 2000-06-08 3:00 ` Tanaka Akira
2000-06-08 19:25 ` Clint Adams
0 siblings, 1 reply; 3+ messages in thread
From: Tanaka Akira @ 2000-06-08 3:00 UTC (permalink / raw)
To: zsh-users
In article <87og5d2mvp.fsf@cenderis.demon.co.uk>,
Bruce Stephens <bruce+zsh@cenderis.demon.co.uk> writes:
> # exec zsh -f
> # autoload -U compinit
> # compinit
> # apt-get install a<TAB>
> _alternative:-1: parse error near `||'
> _alternative:70: command not found: _
Following patch should fix it.
Index: Completion/Debian/_apt
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/_apt,v
retrieving revision 1.6
diff -u -r1.6 _apt
--- Completion/Debian/_apt 2000/05/19 08:26:48 1.6
+++ Completion/Debian/_apt 2000/06/08 02:57:22
@@ -371,7 +371,7 @@
-- \
/$'update\0'/ \| \
/$'upgrade\0'/ \| \
- /$'install\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" uninstalled || _deb_packages "$expl_packages[@]" installed' \# \| \
+ /$'install\0'/ /$'[^\0]#\0'/ ':packages::{ _deb_packages "$expl_packages[@]" uninstalled || _deb_packages "$expl_packages[@]" installed }' \# \| \
/$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
/$'dist-upgrade\0'/ \| \
/$'dselect-upgrade\0'/ \| \
@@ -410,12 +410,12 @@
/$'add\0'/ /$'[^\0]#\0'/ ':files:index files:_files "$expl[@]"' \# \| \
/$'gencaches\0'/ \| \
/$'showpkg\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
- /$'stats\0'=$status[4]/ \| \
+ /$'stats\0'/ \| \
/$'dump\0'/ \| \
/$'dumpavail\0'/ \| \
/$'unmet\0'/ \| \
/$'check\0'/ \| \
- /$'search\0'/ /$'[^\0]#\0'/ ':strings::_message "pattern"' \| \
+ /$'search\0'/ /$'[^\0]#\0'/ ':strings:pattern:' \| \
/$'show\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
/$'depends\0'/ \| \
/"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends'
--
Tanaka Akira
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 3.1.9, bug in apt-get completion?
2000-06-08 3:00 ` Tanaka Akira
@ 2000-06-08 19:25 ` Clint Adams
0 siblings, 0 replies; 3+ messages in thread
From: Clint Adams @ 2000-06-08 19:25 UTC (permalink / raw)
To: Tanaka Akira; +Cc: zsh-users
> Following patch should fix it.
FWIW, .debs with Tanaka-san's fix will appear after today's mirror pulse.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-06-08 19:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-07 21:37 3.1.9, bug in apt-get completion? Bruce Stephens
2000-06-08 3:00 ` Tanaka Akira
2000-06-08 19:25 ` Clint Adams
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).