> Locale is set to hr_HR.UTF-8. RPS1 variable contains %D{%a} or abbreviated
> weekday. For thursday (in croatian: četvrtak) I should get "Čet", but I
> don't. Here is a screenshot: http://www.inet.hr/~vfurac/zsh_utf8.png.

Do any of the following do the right thing?

print -P "%D{%a}"

zmodload zsh/datetime; strftime "%a" $EPOCHSECONDS 

PS1="%D{%a}%# "


Reply via email to