summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-04-03 17:46:42 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-04-03 17:46:42 +0300
commit2058e56be5b09c47dbfad3cc1f28f35dad01ec69 (patch)
treeaa85a45da46c791d7297d851d431bdc7396e6fb6 /powerlevel9k.zsh-theme
parent4d99982e7c6e401dbb4837a3dabf7c39e2e8da08 (diff)
Always add a whitespace to the end of the time segment for better look.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index f15010c8..27c547f8 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -301,12 +301,12 @@ prompt_longstatus() {
# System time
prompt_time() {
- local time_format='%D{%H:%M:%S} '
+ local time_format='%D{%H:%M:%S}'
if [[ -n $POWERLEVEL9K_TIME_FORMAT ]]; then
time_format=$POWERLEVEL9K_TIME_FORMAT
fi
- $1_prompt_segment $DEFAULT_COLOR_INVERTED $DEFAULT_COLOR $time_format
+ $1_prompt_segment $DEFAULT_COLOR_INVERTED $DEFAULT_COLOR "$time_format "
}
# Command number (in local history)