Update README: add bash example for setting dir
This commit is contained in:
parent
c9636931ca
commit
a30ccb1f69
10
README.rst
10
README.rst
|
@ -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
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Reference in New Issue