Update README: add bash example for setting dir

This commit is contained in:
Cedric Girard 2013-03-07 14:54:37 +01:00
parent c9636931ca
commit a30ccb1f69
1 changed files with 10 additions and 0 deletions

View File

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