From a30ccb1f69b80da71a14c41146ce5c4eb8c2927e Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Thu, 7 Mar 2013 14:54:37 +0100 Subject: [PATCH] Update README: add bash example for setting dir --- README.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.rst b/README.rst index f14ab60..f920187 100644 --- a/README.rst +++ b/README.rst @@ -61,6 +61,16 @@ INSERT MODE __vte_ps1 } fi + :: + + For example, with bash: + + .. code:: sh + + if [[ $TERM == xterm-termite ]]; then + . /etc/profile.d/vte.sh + PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'__vte_ps1' + fi COMMAND MODE ------------