aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/run.sh b/run.sh
index bca78be..6782089 100755
--- a/run.sh
+++ b/run.sh
@@ -2,7 +2,8 @@
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
0="${${(M)0:#/*}:-$PWD/$0}"
-
+setopt all_export
source ${0:h}/.env
-source ${0:h}/venv/bin/activate
-python3 ${0:h}/$1
+unsetopt all_export
+
+${0:h}/venv/bin/python3 ${0:h}/$1