mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
completions/code: also complete paths for --install--extension
The docs state: code --install-extension <ext-id | path> Installs or updates an extension. The argument is either an extension id or a path to a VSIX.
This commit is contained in:
parent
f13979bfbb
commit
bb055c7c81
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ complete -c code -l file-uri -d 'Opens a window with given file uri(s)'
|
|||
complete -c code -l extensions-dir -d 'Set the root path for extensions'
|
||||
complete -c code -l list-extensions -d 'List the installed extensions'
|
||||
complete -c code -l show-versions -d 'Show versions of installed extensions' -n '__fish_seen_argument -l list-extensions'
|
||||
complete -c code -l install-extension -xa "(__fish_complete_vscode_extensions)" -d 'Installs or updates the extension'
|
||||
complete -c code -l install-extension -ra "(__fish_complete_vscode_extensions)" -d 'Installs or updates the extension'
|
||||
complete -c code -l force -n '__fish_seen_argument -l install-extension' -d 'Avoid prompts when installing'
|
||||
complete -c code -l enable-proposed-api -xa "(__fish_complete_vscode_extensions)" -d 'Enables proposed API features for extensions'
|
||||
complete -c code -l uninstall-extension -xa "(__fish_complete_vscode_extensions)" -d 'Uninstall extension'
|
||||
|
|
Loading…
Reference in a new issue