summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-10-05 16:05:41 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-10-05 16:05:41 +0300
commit0da94e8ef1b84581ce8b4eb397c9e465640711ea (patch)
tree1300443dc95d0a4689295fcb7d4bbdf3c709b0f0
parent760f7cb7a55203be03ddf789dd3c06e75377423f (diff)
Squashed 'gitstatus/' changes from a760bda8..6ba954a4
6ba954a4 make lowercasing work with Turkish locale git-subtree-dir: gitstatus git-subtree-split: 6ba954a4a6fb2b86e7d10b4b19db7757b4876525
-rw-r--r--gitstatus.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitstatus.plugin.zsh b/gitstatus.plugin.zsh
index a93f2c36..603e04d0 100644
--- a/gitstatus.plugin.zsh
+++ b/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#* }