mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-21 20:00:07 +00:00
Squashed 'gitstatus/' changes from a760bda8..6ba954a4
6ba954a4 make lowercasing work with Turkish locale git-subtree-dir: gitstatus git-subtree-split: 6ba954a4a6fb2b86e7d10b4b19db7757b4876525
This commit is contained in:
parent
760f7cb7a5
commit
0da94e8ef1
1 changed files with 2 additions and 2 deletions
|
@ -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#* }
|
||||
|
||||
|
|
Loading…
Reference in a new issue