mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: severe bug, there was no prefix-emoji for Windows
This commit is contained in:
@@ -27,6 +27,13 @@ function logging_init() {
|
||||
elif [[ "$(uname -s)" == "Darwin" ]]; then # if on Mac, add a an apple emoji to the left marker wrapped in dark gray brackets
|
||||
local mac_emoji="🍏" # 🍏 or 🍎
|
||||
declare -g left_marker="${gray_color}[${mac_emoji}|${normal_color}"
|
||||
else
|
||||
declare wsl2_type
|
||||
wsl2_detect_type
|
||||
if [[ "${wsl2_type}" != "none" ]]; then
|
||||
local windows_emoji="💲" # 💰 or 💲 for M$ -- get it?
|
||||
declare -g left_marker="${gray_color}[${windows_emoji}|${normal_color}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user