changed date in prompt to show day two digits

This commit is contained in:
crunchie
2025-08-08 08:15:00 +02:00
parent 41e4c61c2f
commit 5b82409ae0

View File

@@ -90,7 +90,7 @@ prompt_end() {
prompt_context() { prompt_context() {
if [[ "$USERNAME" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then if [[ "$USERNAME" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
#prompt_segment black yellow "%(!.%{%F{yellow}%}.)%n@%m" #prompt_segment black yellow "%(!.%{%F{yellow}%}.)%n@%m"
prompt_segment black yellow "%(!.%{%F{yellow}%}.)%D{%f.%m.%Y} %D{%H:%M:%S}" prompt_segment black yellow "%(!.%{%F{yellow}%}.)%D{%d.%m.%Y} %D{%H:%M:%S}"
fi fi
} }