mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-11 10:49:51 +00:00
feat(yarn): add setting to disable adding global dir to $PATH (#10642)
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user