r17x / zsh-yarn

Plugin for ZSH to install & load yarn without pain (nearly zero configuration)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZSH Plugin - Yarn

ZSH Plugin to install and load Yarn

Table of Content

Installation

Zinit

zinit light "ri7nz/zsh-yarn"

Zplug

zplug "ri7nz/zsh-yarn"

TODO

  • make it configurable with ZSH_YARN_VERSION in env variable
export ZSH_YARN_VERSION="v2.x.x" # (version)
export ZSH_YARN_VERSION="2.x.x" # (version)
export ZSH_YARN_VERSION="nightly-2.x.x" # need parse (version type)-(version)
export ZSH_YARN_VERSION="rc-2.x.x" # need parse (version type)-(version)
  • maybe support for yarnV2 aka berry [let's discuss]

Similar Projects

About

Plugin for ZSH to install & load yarn without pain (nearly zero configuration)

License:MIT License


Languages

Language:Shell 100.0%