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
This commit is contained in:
2022-05-01 13:37:11 +02:00
parent b819abc7b6
commit 33f9a34895

View File

@@ -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