mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +00:00
Always add a whitespace to the end of the time segment for better look.
This commit is contained in:
parent
4d99982e7c
commit
2058e56be5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue