zsh:p10k: Empty the second line of RPROMPT

I often get annoyed when I try to copy the command I typed but the
timestamp is also copied (e.g. with tmux line selection). Move the time
segment to the very right of the first line of RPROMPT which empties the
second line completely.
This commit is contained in:
2024-03-22 10:04:59 +01:00
parent 48acd729fe
commit 803b35d3d5

View File

@@ -104,6 +104,7 @@
background_jobs # presence of background jobs
command_execution_time # duration of the last command
status # exit code of the last command
time # current time
# =========================[ Line #2 ]=========================
newline
# ip # ip address and bandwidth usage for a specified network interface
@@ -112,7 +113,6 @@
# battery # internal battery
# wifi # wifi speed
# example # example user-defined segment (see prompt_example function below)
time # current time
)
# Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you.