diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/User/_cvs | 6 | ||||
-rw-r--r-- | Completion/User/_patch | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Completion/User/_cvs b/Completion/User/_cvs index befb81f52..1a1a40b0f 100644 --- a/Completion/User/_cvs +++ b/Completion/User/_cvs @@ -406,9 +406,9 @@ _cvs_root () { if [[ -f "${cvspassfile::=${CVS_PASSFILE:-$HOME/.cvspass}}" ]]; then _cvs_loadstat if (( $+builtins[stat] )); then - id="$(LANG=C builtin stat -g +mtime -F '%Y/%m/%d-%T' "$cvspassfile")" + id="$(LC_ALL=C builtin stat -g +mtime -F '%Y/%m/%d-%T' "$cvspassfile")" else - id="$(LANG=C ls -l "$cvspassfile")" + id="$(LC_ALL=C ls -l "$cvspassfile")" fi if [[ "$id" != "$_cvs_pass_id" ]]; then _cvs_roots=($_cvs_roots ${${(f)"$(<$cvspassfile)"}%% *}) @@ -526,7 +526,7 @@ _cvs_extract_modifiedfile_entries () { local ents pats ents=(${${${${(M)rawentries:#/*}#/}/\\/[^\\/]#\\///}%/[^/]#/[^/]#}) - pats=(${${${(f)"$(LANG=C builtin stat -gn +mtime -F '%a %b %e %T %Y' ${pref}*(D))"}##*/}/ //}) + pats=(${${${(f)"$(LC_ALL=C builtin stat -gn +mtime -F '%a %b %e %T %Y' ${pref}*(D))"}##*/}/ //}) eval 'ents=(${ents:#('${(j:|:)${(@)pats:q}}')})' entries=($entries ${ents%%/*}) } diff --git a/Completion/User/_patch b/Completion/User/_patch index 3bed6bc89..c5867a6b1 100644 --- a/Completion/User/_patch +++ b/Completion/User/_patch @@ -1,7 +1,7 @@ #compdef patch if (( ! $+_patch_args )); then - local help="$(LANG=C patch --help 2>&1)" + local help="$(LC_ALL=C patch --help 2>&1)" local -A optionmap local arg local comp_p='compadd "$expl[@]" -S0 -r "1-9" - ""' |