Skip to content

z-shell/firefox-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZI Logo ❮ ZI ❯ Package - Firefox Developer Edition

Install and setup the latest binary of Mozilla Firefox Deveveloper Edition

Package source: Source Tarball Binary Git Node Gem
Status: ✔️ (default)

zi package firefox-dev


Available pack'' invocations

# Default Profile
zi pack for firefox-dev
# Download the firefox-dev binary with use of the bin-gem-node annex
zi pack"bgn" for firefox-dev

Default Profile

Provides the CLI commands firefox-bin and firefox by extending the $PATH to point to the snippet's directory.

The command executed will be equivalent to:

zi id-as"firefox-dev" as"command" lucid" \
  atclone'local ext="${${${(M)OSTYPE#linux*}:+tar.bz2}:-dmg}"; \
    ziextract %ID% $ext --norm ${${OSTYPE:#darwin*}:+--move}' \
      pick"firefox(|-bin)" atpull"%atclone" nocompile is-snippet for \
          "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=${${${(M)OSTYPE##linux}:+linux64}:-${${(M)OSTYPE##darwin}:+osx}}&lang=en-US"

Bin-Gem-Node Profile

Provides the CLI command firefox by creating a forwarder script (a shim) to the firefox-bin command, in $ZPFX/bin by using the bin-gem-node annex.

It's the best method of providing the binary to the command line.

The command executed will be equivalent to:

zi id-as"firefox-dev" as"null" lucid \
  atclone'local ext="${${${(M)OSTYPE#linux*}:+tar.bz2}:-dmg}"; \
    ziextract %ID% $ext --norm ${${OSTYPE:#darwin*}:+--move}' \
      atpull"%atclone" nocompile is-snippet for \
         "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=${${${(M)OSTYPE##linux}:+linux64}:-${${(M)OSTYPE##darwin}:+osx}}&lang=en-US"

This repository compatible with ZI

The Mozilla Firefox Developer Edition zsh package that uses the zsh-string-lib to automatically:

  • get the plugin's Git repository OR release-package URL,
  • get the list of the recommended ices for the plugin,
    • there can be multiple lists of ices,
    • the ice lists are stored in profiles; there's at least one profile, default,
    • the ices can be selectively overridden.