My current prompt configuration:
PROMPT=$'%F{blue}[ %F{gray}%n%F{blue}@%F{gray}%m%F{blue} ]-[ %F{gray}%D{%Y-%m-%d} %*%F{blue} ]-[ %F{gray}%~%F{blue} ]\n%# '
%F{color}set text foreground color%nlogged in user%mmachine hostname%D{%Y-%m-%d}date inyyyy-mm-ddformat%*time inhh:mm:ss24h format%~full path to working directory, with$HOMEabbreviated as~\na literal newline character- the prompt must be encased like so
$''for this character to be interpreted
- the prompt must be encased like so
%#prompt character (%for normal user)
EOF