From 803b35d3d5880120ec3be5719050422773575e6b Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 22 Mar 2024 10:04:59 +0100 Subject: [PATCH] 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. --- .../zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme.zsh b/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme.zsh index 91610e3..92c9fc7 100644 --- a/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme.zsh +++ b/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme.zsh @@ -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.