mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
add an empty line after the branch/tag truncation logic
This commit is contained in:
parent
711490252e
commit
dca8774f1b
4 changed files with 4 additions and 0 deletions
|
|
@ -384,6 +384,7 @@
|
||||||
# Otherwise show the first 12 … the last 12.
|
# Otherwise show the first 12 … the last 12.
|
||||||
# Tip: To always show local branch name in full without truncation, delete the next line.
|
# Tip: To always show local branch name in full without truncation, delete the next line.
|
||||||
(( $#where > 32 )) && where[13,-13]="…"
|
(( $#where > 32 )) && where[13,-13]="…"
|
||||||
|
|
||||||
res+="${clean}${where//\%/%%}" # escape %
|
res+="${clean}${where//\%/%%}" # escape %
|
||||||
|
|
||||||
# Display the current Git commit if there is no branch or tag.
|
# Display the current Git commit if there is no branch or tag.
|
||||||
|
|
|
||||||
|
|
@ -378,6 +378,7 @@
|
||||||
# Otherwise show the first 12 … the last 12.
|
# Otherwise show the first 12 … the last 12.
|
||||||
# Tip: To always show local branch name in full without truncation, delete the next line.
|
# Tip: To always show local branch name in full without truncation, delete the next line.
|
||||||
(( $#where > 32 )) && where[13,-13]="…"
|
(( $#where > 32 )) && where[13,-13]="…"
|
||||||
|
|
||||||
res+="${clean}${where//\%/%%}" # escape %
|
res+="${clean}${where//\%/%%}" # escape %
|
||||||
|
|
||||||
# Display the current Git commit if there is no branch or tag.
|
# Display the current Git commit if there is no branch or tag.
|
||||||
|
|
|
||||||
|
|
@ -378,6 +378,7 @@
|
||||||
# Otherwise show the first 12 … the last 12.
|
# Otherwise show the first 12 … the last 12.
|
||||||
# Tip: To always show local branch name in full without truncation, delete the next line.
|
# Tip: To always show local branch name in full without truncation, delete the next line.
|
||||||
(( $#where > 32 )) && where[13,-13]="…"
|
(( $#where > 32 )) && where[13,-13]="…"
|
||||||
|
|
||||||
res+="${clean}${where//\%/%%}" # escape %
|
res+="${clean}${where//\%/%%}" # escape %
|
||||||
|
|
||||||
# Display the current Git commit if there is no branch or tag.
|
# Display the current Git commit if there is no branch or tag.
|
||||||
|
|
|
||||||
|
|
@ -384,6 +384,7 @@
|
||||||
# Otherwise show the first 12 … the last 12.
|
# Otherwise show the first 12 … the last 12.
|
||||||
# Tip: To always show local branch name in full without truncation, delete the next line.
|
# Tip: To always show local branch name in full without truncation, delete the next line.
|
||||||
(( $#where > 32 )) && where[13,-13]="…"
|
(( $#where > 32 )) && where[13,-13]="…"
|
||||||
|
|
||||||
res+="${clean}${where//\%/%%}" # escape %
|
res+="${clean}${where//\%/%%}" # escape %
|
||||||
|
|
||||||
# Display the current Git commit if there is no branch or tag.
|
# Display the current Git commit if there is no branch or tag.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue