1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-29 09:10:07 +00:00

vscode: rename vsce and vsced aliases (#7190)

Changed aliases from
```
alias vsce='code --extensions-dir'
alias vsced='code --disable-extensions'
```
to
```
alias vsced='code --extensions-dir'
alias vscde='code --disable-extensions'
```

`vsce` is the command line to publish extensions:
https://code.visualstudio.com/docs/extensions/publish-extension
This commit is contained in:
Fernando 2018-10-02 16:54:43 -03:00 committed by Marc Cornellà
parent 01de53fff3
commit 5cf46edef3
2 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ plugins=(... vscode)
| Alias | Command | Description | | Alias | Command | Description |
| ----------------------- | ---------------------------------------------------------------- | --------------------------------- | | ----------------------- | ---------------------------------------------------------------- | --------------------------------- |
| vsce `dir` | code --extensions-dir `dir` | Set the root path for extensions. | | vsced `dir` | code --extensions-dir `dir` | Set the root path for extensions. |
| vscie `id or vsix-path` | code --install-extension `extension-id> or <extension-vsix-path` | Installs an extension. | | vscie `id or vsix-path` | code --install-extension `extension-id> or <extension-vsix-path` | Installs an extension. |
| vscue `id or vsix-path` | code --uninstall-extension `id or vsix-path` | Uninstalls an extension. | | vscue `id or vsix-path` | code --uninstall-extension `id or vsix-path` | Uninstalls an extension. |
@ -35,4 +35,4 @@ plugins=(... vscode)
| ------------ | ------------------------- | --------------------------------------------------------------------------------------------------------------------- | | ------------ | ------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| vscv | code --verbose | Print verbose output (implies --wait). | | vscv | code --verbose | Print verbose output (implies --wait). |
| vscl `level` | code --log `level` | Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'. | | vscl `level` | code --log `level` | Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'. |
| vsced | code --disable-extensions | Disable all installed extensions. | | vscde | code --disable-extensions | Disable all installed extensions. |

View file

@ -10,10 +10,10 @@ alias vscr='code --reuse-window'
alias vscw='code --wait' alias vscw='code --wait'
alias vscu='code --user-data-dir' alias vscu='code --user-data-dir'
alias vsce='code --extensions-dir' alias vsced='code --extensions-dir'
alias vscie='code --install-extension' alias vscie='code --install-extension'
alias vscue='code --uninstall-extension' alias vscue='code --uninstall-extension'
alias vscv='code --verbose' alias vscv='code --verbose'
alias vscl='code --log' alias vscl='code --log'
alias vsced='code --disable-extensions' alias vscde='code --disable-extensions'