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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user