mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
make configuration options work when using Turkish locale (#1036)
This commit is contained in:
@@ -371,8 +371,8 @@ function _gitstatus_daemon"${1:-}"() {
|
||||
trap '' PIPE
|
||||
|
||||
local uname_sm
|
||||
uname_sm="${(L)$(command uname -sm)}" || return
|
||||
[[ $uname_sm == [^' ']##' '[^' ']## ]] || return
|
||||
uname_sm="${${(L)$(command uname -sm)}//ı/i}" || return
|
||||
[[ $uname_sm == [^' ']##' '[^' ']## ]] || return
|
||||
local uname_s=${uname_sm% *}
|
||||
local uname_m=${uname_sm#* }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user