From fa8367c35828905e12d18bc93f9fc5b31bdf3520 Mon Sep 17 00:00:00 2001 From: airosa Date: Tue, 17 Oct 2023 04:41:05 +0300 Subject: [PATCH] .zshrc: add LC_COLLATE. add no_match for asterisk --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index ecad9cd..3321f51 100644 --- a/.zshrc +++ b/.zshrc @@ -15,6 +15,9 @@ export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us=$'\E[01;32m' +# setting for LC_COLLATE=C problem +export LC_COLLATE="ru_RU.UTF-8" + ## # Completion ## @@ -24,8 +27,9 @@ autoload -Uz compinit && compinit _comp_options+=(globdots) -setopt complete_aliases # Complete aliases +setopt complete_aliases # Complete aliases setopt always_to_end # when completing from the middle of a word, move the cursor to the end of the word +setopt no_nomatch # asterisk match 'any_files' as in BASH zstyle ':completion:*' completer _expand _complete _ignored _approximate #list of completers to use zstyle ':completion:*' list-colors ''