mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(yarn): add setting to disable adding global dir to $PATH (#10642)
This commit is contained in:
parent
e1a9d0ce3e
commit
d9c58d5fa1
2 changed files with 19 additions and 8 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue