feat(yarn): add setting to disable adding global dir to $PATH (#10642)

This commit is contained in:
Carlo Sala authored and GitHub committed 2022-02-03 14:42:47 +01:00
1 parent e1a9d0ce3e
commit d9c58d5fa1
2 files changed
+19 -8

No files matched your search

+9
View File
@@ -9,6 +9,15 @@ To use it, add `yarn` to the plugins array in your zshrc file:
plugins=(... yarn)
```
## Global scripts directory
It also adds `yarn` global scripts dir (commonly `~/.yarn/bin`) to the `$PATH`.
To disable this feature, set the following style in your `.zshrc`:
```zsh
zstyle ':omz:plugins:yarn' global-path false
```
## Aliases
| Alias | Command | Description |