Skip to content

Commit

Permalink
fix: correct new script issues
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Aug 23, 2023
1 parent 30bb1f3 commit 65fa452
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tmux/tmuxs/new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65fa452

Please sign in to comment.