mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 16:04:22 +08:00
feat(yarn): add setting to disable adding global dir to $PATH (#10642)
This commit is contained in:
1 parent
e1a9d0ce3e
commit
d9c58d5fa1
2 files changed
+19
-8
No files matched your search
@@ -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