zsh-firefox-dev

1.18.2 • Public • Published

aws/amazon-firefox-dev as a Zsh package

Package source: Source Tarball Binary Git Node Gem
Status: - +
(default)
-

Zplugin can use the NPM package registry 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 overriden.

Example invocations that'll install Mozilla Firefox Developer Edition

# Download the binary of amazon-firefox-dev command
zplugin pack for firefox-dev

# Download the firefox-dev binary with use of the bin-gem-node annex
zplugin 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 Zplugin command executed will be equivalent to:

zplugin id-as"firefox-dev" as"command" lucid mv"firefox-dev -> firefox.tar.bz2" \
    atclone"rm -rf *~*.tar.bz2(N); tar jxf *.tar.bz2; mv firefox-dev ff; \
        mv ff/*(D) . >/dev/null; rmdir ff" \
    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 Zplugin command executed will be equivalent to:

zplugin id-as"firefox-dev" as"null" lucid mv"firefox-dev -> firefox.tar.bz2" \
    atclone"rm -rf *~*.tar.bz2(N); tar jxf *.tar.bz2; mv firefox ff; \
        mv ff/*(D) . >/dev/null; rmdir ff" \
    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"

Package Sidebar

Install

npm i zsh-firefox-dev

Weekly Downloads

1

Version

1.18.2

License

Mozilla Public License

Unpacked Size

6.05 kB

Total Files

3

Last publish

Collaborators

  • psprint