mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
feat(brew): ✨ Add option to disable aliases
Allow users to opt-out of default aliases by setting `zstyle :omz:plugins:brew aliases no`. Aliases remain enabled by default to maintain backward compatibility.
This commit is contained in:
parent
e7aa0c56e6
commit
ed87310ea7
2 changed files with 61 additions and 46 deletions
|
|
@ -8,6 +8,19 @@ To use it, add `brew` to the plugins array of your zshrc file:
|
|||
plugins=(... brew)
|
||||
```
|
||||
|
||||
## Settings
|
||||
|
||||
### Aliases
|
||||
|
||||
If you don't want to use the aliases provided by this plugin, you can disable them by setting the following style
|
||||
in your `.zshrc` file, before Oh My Zsh is sourced:
|
||||
|
||||
```zsh
|
||||
zstyle ':omz:plugins:brew' aliases no
|
||||
```
|
||||
|
||||
Default: `yes`.
|
||||
|
||||
## Shellenv
|
||||
|
||||
If `brew` is not found in the PATH, this plugin will attempt to find it in common locations, and execute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue