diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-10-05 15:46:48 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-10-05 15:46:48 +0300 |
commit | 3aec0c6b363829c30fed5f74b099d4685f64ad59 (patch) | |
tree | 52ab0d601e88a7489510ee87e1dd113581dbdc39 /gitstatus | |
parent | 060af91a80359d23f20257bf957734f6f6d76089 (diff) |
make configuration options work when using Turkish locale (#1036)
Diffstat (limited to 'gitstatus')
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index a93f2c36..603e04d0 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -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#* } |