diff options
Diffstat (limited to 'share/spack/bash/spack-completion.in')
-rwxr-xr-x | share/spack/bash/spack-completion.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/bash/spack-completion.in b/share/spack/bash/spack-completion.in index f9cf846ec5..56c47a8fa4 100755 --- a/share/spack/bash/spack-completion.in +++ b/share/spack/bash/spack-completion.in @@ -134,7 +134,7 @@ _bash_completion_spack() { # Make sure function exists before calling it local rgx #this dance is necessary to cover bash and zsh regex rgx="$subfunction.*function.* " - if [[ "$(type $subfunction 2>&1)" =~ $rgx ]] + if [[ "$(LC_ALL=C type $subfunction 2>&1)" =~ $rgx ]] then $subfunction COMPREPLY=($(compgen -W "$SPACK_COMPREPLY" -- "$cur")) |