mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
vscode: add code-insiders support (#7836)
This commit is contained in:
parent
b054e25d25
commit
7b75163543
2 changed files with 32 additions and 14 deletions
|
|
@ -8,6 +8,21 @@ To start using it, add the `vscode` plugin to your `plugins` array in `~/.zshrc`
|
|||
plugins=(... vscode)
|
||||
```
|
||||
|
||||
If you are using [Visual Studio Code Insiders](https://code.visualstudio.com/insiders/),
|
||||
add the following line in the oh-my-zsh settings section (between the `ZSH_THEME` and
|
||||
the `plugins=()` line). This will make the plugin use the Insiders version instead.
|
||||
|
||||
```zsh
|
||||
ZSH_THEME=...
|
||||
|
||||
# Add this line to use code-insiders instead of code
|
||||
VSCODE=code-insiders
|
||||
|
||||
plugins=(... vscode)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
```
|
||||
|
||||
## Common aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue