zsh-workers
 help / color / mirror / code / Atom feed
* bug: ${_comps[firefox]} is _webbrowser instead of _mozilla
@ 2006-10-11 19:22 arno.
  0 siblings, 0 replies; only message in thread
From: arno. @ 2006-10-11 19:22 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

Hi,
there is completion file _mozilla for mozilla and firefox.
Unfortunately, that completion is not registered for firefox by default.

print ${_comps[firefox]}
_webbrowser

That's because there is a completion Unix/_webbrowser with 

#compdef [...] firefox [...]
that register _webbrowser for firefox
when it comes to X/_mozilla 
#compdef [...] firefox
that function cannot be registered for firefox because compdef is called 
with '-n'
compinit line 478: compdef -na "${_i_name}" "${_i_line[@]}"

So may be, firefox should be removed from _webbrowser

arno


? _webbrowser.patch
Index: Completion/Unix/Command/_webbrowser
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_webbrowser,v
retrieving revision 1.7
diff -r1.7 _webbrowser
1c1
< #compdef amaya arena chimera dillo express firefox galeon grail gzilla hotjava konqueror light mmm Mosaic netrik opera phoenix retawq skipstone www xmosaic zen
---
> #compdef amaya arena chimera dillo express galeon grail gzilla hotjava konqueror light mmm Mosaic netrik opera phoenix retawq skipstone www xmosaic zen

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-11 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-11 19:22 bug: ${_comps[firefox]} is _webbrowser instead of _mozilla arno.

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).