User Tools

Site Tools


wiki:activate_python_virtual_environment_terminator

Activate python virtual environment in Terminator

Command

Paste this in Terminator's Preferences > Layouts > Custom command

bash --rcfile <(cat ${HOME}/.bashrc; echo 'export PROMPT_COMMAND="source ../venv/bin/activate; unset PROMPT_COMMAND"') -i

Tested on

  • Xubuntu 20.04.1

See also

References

wiki/activate_python_virtual_environment_terminator.txt · Last modified: 2020/12/10 16:47 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki