summaryrefslogtreecommitdiffstatshomepage
path: root/misc/completion/powershell
diff options
context:
space:
mode:
authorsudoforge <no-reply@sudoforge.com>2024-08-25 10:44:32 -0700
committerGitHub <noreply@github.com>2024-08-25 17:44:32 +0000
commitc3ff05f95bdfad6c2ea4cb899024fd47ac503b5f (patch)
treeadbd88406090c2f4b0f83bca600488cc5a9c28a9 /misc/completion/powershell
parent2004fa79e6ae7645d964a03e2ae2dd808f7d486a (diff)
downloadgit-bug-c3ff05f95bdfad6c2ea4cb899024fd47ac503b5f.tar.gz
git-bug-c3ff05f95bdfad6c2ea4cb899024fd47ac503b5f.zip
chore: regenerate command completion and documentation (#1253)
Closes: #1209 Change-Id: Id19d5013b04ef5c99a99d367bbf3d618b8be068b
Diffstat (limited to 'misc/completion/powershell')
-rw-r--r--misc/completion/powershell/git-bug6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/completion/powershell/git-bug b/misc/completion/powershell/git-bug
index 99d13e99..fb426dab 100644
--- a/misc/completion/powershell/git-bug
+++ b/misc/completion/powershell/git-bug
@@ -10,7 +10,7 @@ filter __git-bug_escapeStringWithSpecialChars {
$_ -replace '\s|#|@|\$|;|,|''|\{|\}|\(|\)|"|`|\||<|>|&','`$&'
}
-[scriptblock]$__git_bugCompleterBlock = {
+[scriptblock]${__git_bugCompleterBlock} = {
param(
$WordToComplete,
$CommandAst,
@@ -85,7 +85,7 @@ filter __git-bug_escapeStringWithSpecialChars {
__git-bug_debug "Calling $RequestComp"
# First disable ActiveHelp which is not supported for Powershell
- $env:GIT_BUG_ACTIVE_HELP=0
+ ${env:GIT_BUG_ACTIVE_HELP}=0
#call the command store the output in $out and redirect stderr and stdout to null
# $Out is an array contains each line per element
@@ -242,4 +242,4 @@ filter __git-bug_escapeStringWithSpecialChars {
}
}
-Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock $__git_bugCompleterBlock
+Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock ${__git_bugCompleterBlock}