f9a2d8cae39a0fb42e22aa17222c7da7b44b7ede

Author
Andy Pickle <39109475+pickleat@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

vscode: add documentation for running in macOS (#8674)

Diff

 1diff --git a/plugins/vscode/README.md b/plugins/vscode/README.md
 2index 2c6530650b995c40c145e04d18fa73bc1c8e5d39..469c57ea83fdcfd98aee158bb5f3d289402629cf 100644
 3--- a/plugins/vscode/README.md
 4+++ b/plugins/vscode/README.md
 5@@ -8,6 +8,15 @@ To start using it, add the `vscode` plugin to your `plugins` array in `~/.zshrc`
 6 plugins=(... vscode)
 7 ```
 8 
 9+## Requirements
10+
11+To use VS Code in the terminal **in macOS**, first you need to install the `code` command in the PATH,
12+otherwise you might receive this message: `zsh: command not found: code`.
13+
14+[As the docs say](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line), open
15+the Command Palette via (F1 or ⇧⌘P) and type shell command to find the Shell Command:
16+> Install 'code' command in PATH
17+
18 ## VS Code Insiders
19 
20 🍏 **If you are only using [VS Code Insiders](https://code.visualstudio.com/insiders/), the plugin will automatically bind to your Insiders installation.**