Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _firefox

Le vendredi 08 décembre 2006, à 21:28:25 +0000, Peter a écrit :
> Peter Stephenson wrote:
> > Not sure why we don't have this already, except that the command line
> > options aren't very well documented.

this is part of an update I submitted a few weeks ago :

It's nice that firefox completion is updated now, but -CreateProfile
option has not been updated. That option is really useful when
developing firefox extensions, and I'd like to known if it is possible to
include completion for -CreateProfile for Firefox. So, I join a patch
suggestion for that :


diff -Nur zsh/Completion/X/Command/_mozilla zsh~/Completion/X/Command/_mozilla
--- zsh/Completion/X/Command/_mozilla   2006-12-17 14:08:38.000000000 +0100
+++ zsh~/Completion/X/Command/_mozilla  2006-12-17 14:24:02.000000000 +0100
@@ -27,7 +27,6 @@
       "($popts)-installer[start with 4.x migration window]"
-      "($popts)-CreateProfile:profile"
       "($popts)-ProfileWizard[start with profile wizard]"
       "($popts)-SelectProfile[start with profile selection dialog]"
       '-splash[enable splash screen]'
@@ -42,6 +41,7 @@
   _x_arguments -C  $mozopts \
     '-height[height of startup window]:height' \
     '(-)'{-h,-help}'[show usage message]' \
+      "($popts)-CreateProfile:profile" \
     '-width[width of startup window]:width' \
     '(-)'{-v,-version}'[show the version number and build date]' \
     "($popts)-P[start with profile]:profile:->profile" \

Attachment: signature.asc
Description: Digital signature

Messages sorted by: Reverse Date, Date, Thread, Author