diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-12-08 22:52:18 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-12-08 22:52:18 +0000 |
commit | 4ea03291a8beb1487cbe31664a991d776bca19a0 (patch) | |
tree | 4db170820432a9e55f33e9d4b912709f6ab3a2c3 /Completion/X/Command/_mozilla | |
parent | b6e6a91e0fe5d06626a1e6639af13488fd85fef5 (diff) | |
download | zsh-4ea03291a8beb1487cbe31664a991d776bca19a0.tar.gz zsh-4ea03291a8beb1487cbe31664a991d776bca19a0.tar.xz zsh-4ea03291a8beb1487cbe31664a991d776bca19a0.zip |
improved firefox support
Diffstat (limited to 'Completion/X/Command/_mozilla')
-rw-r--r-- | Completion/X/Command/_mozilla | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Completion/X/Command/_mozilla b/Completion/X/Command/_mozilla index 2972870e4..eef72d2aa 100644 --- a/Completion/X/Command/_mozilla +++ b/Completion/X/Command/_mozilla @@ -9,7 +9,22 @@ local -a mozopts if [[ $service = *remote* ]]; then state=remote else - if [[ $service != *firefox* ]]; then + if [[ $service = *firefox* ]]; then + mozopts=( + '-browser[open browser window]' \ + '-console[start with debugging console]' \ + '-h[output help message]' \ + '-help[output help message]' \ + '-inspector[start with DOM Inspector]:URL to inspect:->location' \ + '-install-global-extension[install an extension]:extension to install:_files' \ + '-new-window[load URL in new window]:URL to load:->location' \ + '-new-tab[load URL in new tab]:URL to load:->location' \ + '-no-remote[run with multiple profiles]' \ + '-profile[specify profile file]:profile file:_files' \ + '-v[show version]' \ + '-version[show version]' \ + ) + else mozopts=( "($popts)-installer[start with 4.x migration window]" "($popts)-CreateProfile:profile" |