pure icon indicating copy to clipboard operation
pure copied to clipboard

feat: Display npmrc profile

Open avidit opened this issue 2 years ago • 0 comments

How to test pre-release?

:skull_and_crossbones: Feature can be unstable and break your prompt!

fisher install pure-fish/pure@feat/npmrc # branch name
set --universal pure_enable_foo_feature true

First contribution?

Check the :+1: Contribute section and the contributing guide.

Specs

New config in conf.d/pure.fish

_pure_set_default pure_enable_npmrc false
_pure_set_default pure_symbol_npmrc_prefix ""
_pure_set_default pure_color_npmrc pore_color_danger ""

Documentation

npmrc helps to switch between different .npmrc files with ease and grace.

Usage

❯ set --universal pure_enable_npmrc true

Acceptance Checks

  • [x] documentation is up-to-date:
    • [x] features list ;
    • [x] Prompt Symbol ;
    • [x] 🔌 Features' Flags ;
  • [x] feature flag is present in conf.d/pure.fish ;
  • [x] symbol is present in conf.d/pure.fish ;
  • [x] tests are passing (I can help you :hugs: ):
    • [x] config are tested (cf. tests/_pure.test.fish) ;
    • [x] feature is covered ;
  • [x] customization is available ;
  • [x] feature is implemented.

avidit avatar Oct 10 '23 16:10 avidit