diff --git a/tmux/tmuxs/new.sh b/tmux/tmuxs/new.sh index 5075d699b..6677af191 100755 --- a/tmux/tmuxs/new.sh +++ b/tmux/tmuxs/new.sh @@ -93,8 +93,9 @@ fi if [ -f requirements.txt ]; then if [ ! -d '.venv' ]; then - if [[ "$(command -v pyvenv)" ]]; then - pyenv run python -mvenv .venv + if [[ "$(command -v pyenv)" ]]; then + pyenv install + pyenv exec python -mvenv .venv else python -mvenv .venv fi