From 3aec0c6b363829c30fed5f74b099d4685f64ad59 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Mon, 5 Oct 2020 14:46:48 +0200 Subject: make configuration options work when using Turkish locale (#1036) --- gitstatus/gitstatus.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gitstatus') 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#* } -- cgit v1.2.3