aboutsummaryrefslogtreecommitdiffstats
path: root/misc/completion
diff options
context:
space:
mode:
Diffstat (limited to 'misc/completion')
-rw-r--r--misc/completion/bash/git-bug2
-rw-r--r--misc/completion/fish/git-bug2
-rw-r--r--misc/completion/gen_completion.go2
-rw-r--r--misc/completion/powershell/git-bug6
4 files changed, 6 insertions, 6 deletions
diff --git a/misc/completion/bash/git-bug b/misc/completion/bash/git-bug
index 4da6afba..42263e09 100644
--- a/misc/completion/bash/git-bug
+++ b/misc/completion/bash/git-bug
@@ -21,7 +21,7 @@ __git-bug_get_completion_results() {
local requestComp lastParam lastChar args
# Prepare the command to request completions for the program.
- # Calling ${words[0]} instead of directly git-bug allows to handle aliases
+ # Calling ${words[0]} instead of directly git-bug allows handling aliases
args=("${words[@]:1}")
requestComp="${words[0]} __complete ${args[*]}"
diff --git a/misc/completion/fish/git-bug b/misc/completion/fish/git-bug
index de8ee8da..323c763f 100644
--- a/misc/completion/fish/git-bug
+++ b/misc/completion/fish/git-bug
@@ -79,7 +79,7 @@ function __git_bug_clear_perform_completion_once_result
__git_bug_debug ""
__git_bug_debug "========= clearing previously set __git_bug_perform_completion_once_result variable =========="
set --erase __git_bug_perform_completion_once_result
- __git_bug_debug "Succesfully erased the variable __git_bug_perform_completion_once_result"
+ __git_bug_debug "Successfully erased the variable __git_bug_perform_completion_once_result"
end
function __git_bug_requires_order_preservation
diff --git a/misc/completion/gen_completion.go b/misc/completion/gen_completion.go
index 5f643832..e2a8cc1b 100644
--- a/misc/completion/gen_completion.go
+++ b/misc/completion/gen_completion.go
@@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/commands"
+ "github.com/git-bug/git-bug/commands"
)
func main() {
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}