Skip to content

Commit f68609d

Browse files
committed
tmuxp: Update for poetry
1 parent 8647138 commit f68609d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.tmuxp-before-script.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
poetry shell --no-ansi --no-interaction &2> /dev/null
3+
poetry install --no-ansi --no-interaction &2> /dev/null

.tmuxp.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
session_name: tmuxp
22
start_directory: ./ # load session relative to config location (project root).
3-
before_script: pipenv install --dev --skip-lock
4-
shell_command_before:
5-
- '[ -d `pipenv --venv` ] && source `pipenv --venv`/bin/activate && reset'
3+
before_script: ./.tmuxp-before-script.sh
4+
shell_command_before:
5+
- '[ -f .venv/bin/activate ] && source .venv/bin/activate && reset'
66
windows:
77
- window_name: tmuxp
88
focus: True

0 commit comments

Comments
 (0)