From 7be62ba56306ea340fb1534974e9c4c2ee7e57a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Mon, 21 Jan 2013 10:16:34 +0100 Subject: [PATCH] Use code-blocks in docs --- docs/source/overview.rst | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/source/overview.rst b/docs/source/overview.rst index bd9a319e..04ebd6e3 100644 --- a/docs/source/overview.rst +++ b/docs/source/overview.rst @@ -139,22 +139,25 @@ Terminal prompts Bash prompt *********** -Add the following to your ``.bashrc``:: +Add the following to your ``.bashrc``: - function _update_ps1() { - export PS1="$(powerline-prompt)" - } +.. code-block:: bash - export PROMPT_COMMAND="_update_ps1" + function _update_ps1() { + export PS1="$(powerline-prompt)" + } + export PROMPT_COMMAND="_update_ps1" Zsh prompt ********** -Add the following to your ``.zshrc``:: +Add the following to your ``.zshrc``: - setopt prompt_subst - export PS1=\`powerline-prompt\` +.. code-block:: bash + + setopt prompt_subst + export PS1=\`powerline-prompt\` Tmux statusline ^^^^^^^^^^^^^^^