Open kevinoid opened 3 years ago
Sourcing completions/bash/oci-image-tool in bash produces:
completions/bash/oci-image-tool
bash: __oci-image-tool_previous_extglob_setting=shopt: command not found bash: eval: -i: invalid option eval: usage: eval [arg ...]
This occurs because __oci-image-tool_previous_extglob_setting is not a valid variable name (see https://unix.stackexchange.com/q/23659).
__oci-image-tool_previous_extglob_setting
Fix the variable name by replacing - with _. Since the variable is unset before the script finishes, this presents minimal compatibility risk.
-
_
Thanks for considering, Kevin
Sourcing
completions/bash/oci-image-tool
in bash produces:This occurs because
__oci-image-tool_previous_extglob_setting
is not a valid variable name (see https://unix.stackexchange.com/q/23659).Fix the variable name by replacing
-
with_
. Since the variable is unset before the script finishes, this presents minimal compatibility risk.Thanks for considering, Kevin