Merge pull request #67 from X-dark/master

Update README: add bash example for setting dir
This commit is contained in:
Daniel Micay 2013-03-07 20:31:39 -08:00
commit a3b33d40b3
1 changed files with 10 additions and 0 deletions

View File

@ -61,6 +61,16 @@ INSERT MODE
__vte_ps1 __vte_ps1
} }
fi 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 COMMAND MODE
------------ ------------