mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-09-29 14:36:04 +02:00
fix(opencode): show where to set the alias zstyle in .zshrc
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
333e42b5af
commit
5a023da1f8
@@ -64,10 +64,16 @@ even though those flags work when typed. Use `opencode --help` or
|
|||||||
| `opcc` | `opencode --continue` | Continue the last session |
|
| `opcc` | `opencode --continue` | Continue the last session |
|
||||||
| `opcr` | `opencode run` | Run a prompt without opening the UI |
|
| `opcr` | `opencode run` | Run a prompt without opening the UI |
|
||||||
|
|
||||||
To keep completion but disable aliases, add this before sourcing Oh My Zsh:
|
To keep completion but skip the aliases, set this in your `.zshrc`, above the line
|
||||||
|
that sources Oh My Zsh:
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
|
# ~/.zshrc
|
||||||
zstyle ':omz:plugins:opencode' aliases no
|
zstyle ':omz:plugins:opencode' aliases no
|
||||||
|
|
||||||
|
plugins=(... opencode)
|
||||||
|
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Common workflows
|
## Common workflows
|
||||||
|
|||||||
Reference in New Issue
Block a user