diff --git a/docs/themes-list/barbuk.rst b/docs/themes-list/barbuk.rst index 665f6356..d9d6b733 100644 --- a/docs/themes-list/barbuk.rst +++ b/docs/themes-list/barbuk.rst @@ -93,29 +93,6 @@ Please refer to the following documentation for more information: EOF chmod 400 /etc/sudoers.d/keepenv -Command duration ----------------- - -Command duration reports the duration of the last command. - -Usage -^^^^^ - -Command duration can be enabled by exporting ``BASH_IT_COMMAND_DURATION``: - -.. code-block:: bash - - export BASH_IT_COMMAND_DURATION=true - - -All duration of one second and more are displayed. -You can customize the minimum time in seconds before command duration is displayed in your ``.bashrc``: - -.. code-block:: bash - - export COMMAND_DURATION_MIN_SECONDS=5 - - Examples -------- diff --git a/docs/themes.rst b/docs/themes.rst index aa21a7e3..065127f0 100644 --- a/docs/themes.rst +++ b/docs/themes.rst @@ -37,6 +37,27 @@ See :ref:`here `. Theme Switches & Variables ^^^^^^^^^^^^^^^^^^^^^^^^^^ +Command duration +================ + +Prints last command duration + +Usage +##### + +Command duration can be enabled by exporting ``BASH_IT_COMMAND_DURATION``: + +.. code-block:: bash + + export BASH_IT_COMMAND_DURATION=true + +The default configuration display last command duration for command lasting one second or more. +You can customize the minimum time in seconds before command duration is displayed in your ``.bashrc``: + +.. code-block:: bash + + export COMMAND_DURATION_MIN_SECONDS=5 + Clock Related =============