Add command duration to the powerline theme family
Fix the __powerline_duration_prompt: location & unused variable `prompt` Remove the duration segment from powerline* theme defaults Different color for duration prompt segment
This commit is contained in:
@@ -70,6 +70,7 @@ The contents of the prompt can be "reordered", all the "segments" (every piece o
|
||||
* ``battery`` - Battery information (you'll need to enable the ``battery`` plugin)
|
||||
* ``clock`` - Current time in ``HH:MM:SS`` format
|
||||
* ``cwd`` - Current working directory including full folder hierarchy (c.f. ``wd``\ )
|
||||
* ``duration`` - Duration of the last command. See :ref:`Command duration <command_duration>` for details.
|
||||
* ``gcloud`` - Current gcloud active account
|
||||
* ``hostname`` - Host name of machine
|
||||
* ``in_toolbox`` - Show identifier if running inside a `toolbox <https://github.com/containers/toolbox>`_
|
||||
|
||||
Reference in New Issue
Block a user