Merge pull request #67 from X-dark/master
Update README: add bash example for setting dir
This commit is contained in:
commit
a3b33d40b3
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