Squashed 'gitstatus/' changes from a760bda8..6ba954a4

6ba954a4 make lowercasing work with Turkish locale

git-subtree-dir: gitstatus
git-subtree-split: 6ba954a4a6fb2b86e7d10b4b19db7757b4876525
pull/1059/head
Roman Perepelitsa 4 years ago
parent 760f7cb7a5
commit 0da94e8ef1

@ -371,8 +371,8 @@ function _gitstatus_daemon"${1:-}"() {
trap '' PIPE trap '' PIPE
local uname_sm local uname_sm
uname_sm="${(L)$(command uname -sm)}" || return uname_sm="${${(L)$(command uname -sm)}//ı/i}" || return
[[ $uname_sm == [^' ']##' '[^' ']## ]] || return [[ $uname_sm == [^' ']##' '[^' ']## ]] || return
local uname_s=${uname_sm% *} local uname_s=${uname_sm% *}
local uname_m=${uname_sm#* } local uname_m=${uname_sm#* }

Loading…
Cancel
Save