From 33f9a3489503e42e9c845f24d3f1638b19c9c756 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 1 May 2022 13:37:11 +0200 Subject: [PATCH] zsh:p10k: Move bg-jobs, exec-time & status to end Have those three always the furthest right in the `RPROMPT`. Also reorder them to be in this order (up -> down : left -> right): - background_jobs - command_execution_time - status --- .../zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme b/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme index 86d6c4b..9c56caa 100644 --- a/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme +++ b/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme @@ -45,9 +45,6 @@ # last prompt line gets hidden if it would overlap with left prompt. typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( # =========================[ Line #1 ]========================= - status # exit code of the last command - command_execution_time # duration of the last command - background_jobs # presence of background jobs direnv # direnv status (https://direnv.net/) asdf # asdf version manager (https://github.com/asdf-vm/asdf) virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html) @@ -99,6 +96,9 @@ todo # todo items (https://github.com/todotxt/todo.txt-cli) timewarrior # timewarrior tracking status (https://timewarrior.net/) taskwarrior # taskwarrior task count (https://taskwarrior.org/) + background_jobs # presence of background jobs + command_execution_time # duration of the last command + status # exit code of the last command # =========================[ Line #2 ]========================= newline # ip # ip address and bandwidth usage for a specified network interface