aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-01-25 06:51:43 +0100
committerDennis Eriksen <d@ennis.no>2023-01-25 06:51:43 +0100
commit69dea3d6f06e0c97048ac8ce3eaf4c0f1df4e4f3 (patch)
tree603a4bf7d4589df56405ab2c658c8bb7e948911e /run.sh
parentexpand to two days, else we do not get all of tomorrow (diff)
downloadenergyscripts-69dea3d6f06e0c97048ac8ce3eaf4c0f1df4e4f3.tar.gz
add neohub
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..bca78be
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env zsh
+0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
+0="${${(M)0:#/*}:-$PWD/$0}"
+
+
+source ${0:h}/.env
+source ${0:h}/venv/bin/activate
+python3 ${0:h}/$1