Add shell completion support
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
param(
|
||||
[string]$InstallDir = "$HOME\.gsp\bin"
|
||||
[string]$InstallDir = "$HOME\.gsp\bin",
|
||||
[switch]$NoCompletion
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
@@ -36,3 +37,7 @@ else {
|
||||
}
|
||||
|
||||
& $TargetExe version
|
||||
|
||||
if (-not $NoCompletion) {
|
||||
& $TargetExe completion install powershell
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user