diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-06 15:10:25 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:22 +0100 |
commit | 01b047c344ae35bb55fe211aa5e65d0e99acc75a (patch) | |
tree | bf4f2895a00da59a46eaaf79dbbecbd6fd3d9b54 /11_Prompts.zsh | |
parent | e06ce15156d227655a72e76a4db272519fcaffcd (diff) |
Un format d'affichage de la date plus "compact" visuellement.
Diffstat (limited to '11_Prompts.zsh')
-rw-r--r-- | 11_Prompts.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/11_Prompts.zsh b/11_Prompts.zsh index 311907c..1b47bc1 100644 --- a/11_Prompts.zsh +++ b/11_Prompts.zsh @@ -93,7 +93,7 @@ precmd () ERRORSIZE=${#error} ERROR="%(?;;"$C_$COLOR_BAR$_C"-"$C_$COLOR_ERRR$_C"%?)" - DATE=$C_$COLOR_BRACES$_C"[ "$C_$COLOR_DATE$_C"%D{%a %d %b %Y %H:%M:%S}"$C_$COLOR_BRACES$_C" ]"$C_$COLOR_BAR$_C"-" + DATE=$C_$COLOR_BRACES$_C"[ "$C_$COLOR_DATE$_C"%D{%a-%d-%b-%Y %H:%M:%S}"$C_$COLOR_BRACES$_C" ]"$C_$COLOR_BAR$_C"-" DATEEXPAND=$(expand_text "$DATE") DATESIZE=${#DATEEXPAND} |