mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
fix linux distro icons
This commit is contained in:
parent
ada73dc843
commit
af9c7adfd0
1 changed files with 1 additions and 2 deletions
|
@ -2119,8 +2119,7 @@ _p9k_init() {
|
|||
OS='Linux'
|
||||
local os_release_id
|
||||
[[ -f /etc/os-release &&
|
||||
"${(f)$((</etc/os-release) 2>/dev/null)}" =~ "ID=([A-Za-z]+)" &&
|
||||
os_release_id="${match[1]}" ]]
|
||||
"${(f)$((</etc/os-release) 2>/dev/null)}" =~ "ID=([A-Za-z]+)" ]] && os_release_id="${match[1]}"
|
||||
case "$os_release_id" in
|
||||
*arch*) set_os Linux LINUX_ARCH_ICON;;
|
||||
*debian*) set_os Linux LINUX_DEBIAN_ICON;;
|
||||
|
|
Loading…
Reference in a new issue