.zshrc: add LC_COLLATE. add no_match for asterisk

This commit is contained in:
2023-10-17 04:41:05 +03:00
parent 9fb00c71c0
commit fa8367c358
+5 -1
View File
@@ -15,6 +15,9 @@ export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m' export LESS_TERMCAP_us=$'\E[01;32m'
# setting for LC_COLLATE=C problem
export LC_COLLATE="ru_RU.UTF-8"
## ##
# Completion # Completion
## ##
@@ -24,8 +27,9 @@ autoload -Uz compinit && compinit
_comp_options+=(globdots) _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 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:*' completer _expand _complete _ignored _approximate #list of completers to use
zstyle ':completion:*' list-colors '' zstyle ':completion:*' list-colors ''