Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(_comp_expand_glob): set LC_COLLATE for the sorting order
In sourcing the file `000_bash_completion_compat.bash` located in /etc/bash_completion.d, we rely on the sorting order of the pathname expansions. However, this can be broken by locales that collates digits after the alphabets. We set LC_COLLATE to C and unset LC_ALL (which might override LC_COLLATE) while keeping LC_CTYPE.
- Loading branch information