Skip to content

Commit a1054e0

Browse files
committed
Update tmuxp.yaml
1 parent 390343b commit a1054e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.tmuxp.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ windows:
66
main-pane-height: 50
77
start_directory: ./
88
shell_command_before:
9+
- command -v virtualenv >/dev/null 2>&1 || { pip install virtualenv; }
910
- '[ -d .env -a -f .env/bin/activate ] && source .env/bin/activate || virtualenv .env'
1011
panes:
1112
- shell_command:
@@ -16,7 +17,7 @@ windows:
1617
- echo hi
1718
- shell_command:
1819
- '[ -d .env -a -f .env/bin/activate ] || virtualenv .env'
19-
- command -v tmuxp >/dev/null 2>&1 || { pip install -e .; }
20+
- command -v .env/bin/tmuxp >/dev/null 2>&1 || { pip install -e .; }
2021
- command -v watching_testrunner >/dev/null 2>&1 || { pip install watching_testrunner; }
2122
- watching_testrunner --basepath ./ --pattern="*.py" 'python run_tests.py'
2223
- window_name: docs
@@ -26,8 +27,9 @@ windows:
2627
start_directory: ./
2728
automatic_rename: true
2829
shell_command_before:
30+
- command -v virtualenv >/dev/null 2>&1 || { pip install virtualenv; }
2931
- '[ -d .env -a -f .env/bin/activate ] && source .env/bin/activate || virtualenv .env'
30-
- command -v tmuxp >/dev/null 2>&1 || { pip install -e .; }
32+
- command -v .env/bin/tmuxp >/dev/null 2>&1 || { pip install -e .; }
3133
- cd ./doc
3234
panes:
3335
- shell_command:

0 commit comments

Comments
 (0)