diff --git a/completions/bash/podman b/completions/bash/podman index 67077a0f81..141f562a25 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -21,7 +21,7 @@ __podman_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. - # Calling ${words[0]} instead of directly podman allows to handle aliases + # Calling ${words[0]} instead of directly podman allows handling aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" diff --git a/completions/bash/podman-remote b/completions/bash/podman-remote index 89deb12f68..9eb6f18574 100644 --- a/completions/bash/podman-remote +++ b/completions/bash/podman-remote @@ -21,7 +21,7 @@ __podman-remote_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. - # Calling ${words[0]} instead of directly podman-remote allows to handle aliases + # Calling ${words[0]} instead of directly podman-remote allows handling aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" diff --git a/completions/fish/podman-remote.fish b/completions/fish/podman-remote.fish index 63e2a81a3d..471ffe8b1c 100644 --- a/completions/fish/podman-remote.fish +++ b/completions/fish/podman-remote.fish @@ -79,7 +79,7 @@ function __podman_remote_clear_perform_completion_once_result __podman_remote_debug "" __podman_remote_debug "========= clearing previously set __podman_remote_perform_completion_once_result variable ==========" set --erase __podman_remote_perform_completion_once_result - __podman_remote_debug "Succesfully erased the variable __podman_remote_perform_completion_once_result" + __podman_remote_debug "Successfully erased the variable __podman_remote_perform_completion_once_result" end function __podman_remote_requires_order_preservation diff --git a/completions/fish/podman.fish b/completions/fish/podman.fish index e61c57dc5a..2728a499a8 100644 --- a/completions/fish/podman.fish +++ b/completions/fish/podman.fish @@ -79,7 +79,7 @@ function __podman_clear_perform_completion_once_result __podman_debug "" __podman_debug "========= clearing previously set __podman_perform_completion_once_result variable ==========" set --erase __podman_perform_completion_once_result - __podman_debug "Succesfully erased the variable __podman_perform_completion_once_result" + __podman_debug "Successfully erased the variable __podman_perform_completion_once_result" end function __podman_requires_order_preservation diff --git a/completions/powershell/podman-remote.ps1 b/completions/powershell/podman-remote.ps1 index cb6f2e0801..0fe1809642 100644 --- a/completions/powershell/podman-remote.ps1 +++ b/completions/powershell/podman-remote.ps1 @@ -10,7 +10,7 @@ filter __podman-remote_escapeStringWithSpecialChars { $_ -replace '\s|#|@|\$|;|,|''|\{|\}|\(|\)|"|`|\||<|>|&','`$&' } -[scriptblock]$__podman_remoteCompleterBlock = { +[scriptblock]${__podman_remoteCompleterBlock} = { param( $WordToComplete, $CommandAst, @@ -85,7 +85,7 @@ filter __podman-remote_escapeStringWithSpecialChars { __podman-remote_debug "Calling $RequestComp" # First disable ActiveHelp which is not supported for Powershell - $env:PODMAN_REMOTE_ACTIVE_HELP=0 + ${env:PODMAN_REMOTE_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,6 +242,6 @@ filter __podman-remote_escapeStringWithSpecialChars { } } -Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock $__podman_remoteCompleterBlock +Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock ${__podman_remoteCompleterBlock} # This file is generated with "podman-remote completion"; see: podman-completion(1) diff --git a/completions/powershell/podman.ps1 b/completions/powershell/podman.ps1 index a2b6ffd881..118af7af6c 100644 --- a/completions/powershell/podman.ps1 +++ b/completions/powershell/podman.ps1 @@ -10,7 +10,7 @@ filter __podman_escapeStringWithSpecialChars { $_ -replace '\s|#|@|\$|;|,|''|\{|\}|\(|\)|"|`|\||<|>|&','`$&' } -[scriptblock]$__podmanCompleterBlock = { +[scriptblock]${__podmanCompleterBlock} = { param( $WordToComplete, $CommandAst, @@ -85,7 +85,7 @@ filter __podman_escapeStringWithSpecialChars { __podman_debug "Calling $RequestComp" # First disable ActiveHelp which is not supported for Powershell - $env:PODMAN_ACTIVE_HELP=0 + ${env:PODMAN_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,6 +242,6 @@ filter __podman_escapeStringWithSpecialChars { } } -Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock $__podmanCompleterBlock +Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock ${__podmanCompleterBlock} # This file is generated with "podman completion"; see: podman-completion(1)