diff --git a/functions/prompt_wunjo_setup b/functions/prompt_wunjo_setup index 8385378..2d0ae5d 100644 --- a/functions/prompt_wunjo_setup +++ b/functions/prompt_wunjo_setup @@ -117,9 +117,16 @@ prompt_wunjo_setup() { p_line="$pc[line]%y$pc[reset]" + flag="" + case "${(%):-%2m}" in + *tk7*) flag="πŸ‡―πŸ‡΅";; + *fra*) flag="πŸ‡©πŸ‡ͺ";; + *fmt*) flag="πŸ‡ΊπŸ‡Έ";; + esac + PROMPT= if [ $verbose ]; then - PROMPT+="$pc[user]%n$pc[reset]@$pc[host]${${(%):-%M}%.mempool.space}$pc[reset] " + PROMPT+="$pc[user]%n$pc[reset]@$pc[host]${(%):-%2m}$flag$pc[reset] " fi PROMPT+="$pc[path]%(2~.%~.%/)$pc[reset]" PROMPT+="\$(prompt_wunjo_scm_status)"