[Bash-completion-commits] [bash-completion] 02/02: strings: Fix -T/--target arg completion with non-English locale
    Ville Skyttä  
    scop-guest at moszumanska.debian.org
       
    Mon Dec 15 10:45:00 UTC 2014
    
    
  
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit 976ad96007fbc8edac189737876e485e0cc38e08
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Dec 15 12:43:55 2014 +0200
    strings: Fix -T/--target arg completion with non-English locale
---
 completions/strings | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/completions/strings b/completions/strings
index 8f47d37..2148631 100644
--- a/completions/strings
+++ b/completions/strings
@@ -14,7 +14,7 @@ _strings()
             return
             ;;
         -T|--target)
-            COMPREPLY=( $( compgen -W '$( "$1" --help 2>/dev/null | \
+            COMPREPLY=( $( compgen -W '$( LC_ALL=C "$1" --help 2>/dev/null | \
                 sed -ne "s/: supported targets: \(.*\)/\1/p" )' -- "$cur" ) )
             return
             ;;
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
    
    
More information about the Bash-completion-commits
mailing list