mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-29 00:04:36 +00:00
Fix for #974
This commit is contained in:
@@ -102,7 +102,9 @@ case $(uname) in
|
|||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
OS='Linux'
|
OS='Linux'
|
||||||
os_release_id="$(grep -E '^ID=([a-zA-Z]*)' /etc/os-release | cut -d '=' -f 2)"
|
if [ -f /etc/os-release ]; then
|
||||||
|
os_release_id="$(grep -E '^ID=([a-zA-Z]*)' /etc/os-release | cut -d '=' -f 2)"
|
||||||
|
fi
|
||||||
case "$os_release_id" in
|
case "$os_release_id" in
|
||||||
*arch*)
|
*arch*)
|
||||||
OS_ICON=$(print_icon 'LINUX_ARCH_ICON')
|
OS_ICON=$(print_icon 'LINUX_ARCH_ICON')
|
||||||
|
|||||||
Reference in New Issue
Block a user