Auto python env

This commit is contained in:
Thomas Forgione 2024-05-28 14:30:34 +02:00
parent 30cf64adc7
commit 405838d4f8
1 changed files with 6 additions and 0 deletions

View File

@ -26,5 +26,11 @@ export WINEDEBUG=-all
# for rust # for rust
export RUST_BACKTRACE=full export RUST_BACKTRACE=full
# for python
if [ -d $HOME/.venv ]; then
export PATH=$HOME/.venv/bin:$PATH
export VIRTUAL_ENV=$HOME/.venv
fi
export TERM=xterm-256color export TERM=xterm-256color
export REPORTTIME=5 export REPORTTIME=5