diff options
Diffstat (limited to 'functions/utilities.zsh')
-rw-r--r-- | functions/utilities.zsh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/functions/utilities.zsh b/functions/utilities.zsh index 22b53c6a..bdfce5fd 100644 --- a/functions/utilities.zsh +++ b/functions/utilities.zsh @@ -111,6 +111,15 @@ case $(uname) in ;; esac +# Not all OSes support the '-o' parameter +# That's why this second condition is needed +case $(uname -o 2>/dev/null) in + Android) + OS='Android' + OS_ICON=$(print_icon 'ANDROID_ICON') + ;; +esac + # Determine the correct sed parameter. # # `sed` is unfortunately not consistent across OSes when it comes to flags. |