mirror of
https://github.com/zsh-users/zsh
synced 2024-07-21 10:14:19 +00:00
posted: Make D07 recognize more spellings of pl_PL.UTF-8
FreeBSD and probably others use this spelling in locale -a output, while glibc uses the utf8 spelling.
This commit is contained in:
parent
3e5badb0c9
commit
0e33ebc651
|
@ -1,3 +1,8 @@
|
|||
2017-01-24 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* posted: Test/D07multibyte.ztst: Make D07 recognize more
|
||||
spellings of pl_PL.UTF-8
|
||||
|
||||
2017-01-24 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 40404: Src/builtin.c: quoting of commands in whence should
|
||||
|
|
|
@ -549,9 +549,9 @@
|
|||
"↓"
|
||||
}
|
||||
: $functions)
|
||||
0:Multibtye handling of functions parameter
|
||||
0:Multibyte handling of functions parameter
|
||||
|
||||
if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.utf8]} ]]; then
|
||||
if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.(utf8|UTF-8)]} ]]; then
|
||||
(
|
||||
export LC_ALL=pl_PL.UTF-8
|
||||
local -a names=(a b c d e f $'\u0105' $'\u0107' $'\u0119')
|
||||
|
|
Loading…
Reference in a new issue