summaryrefslogtreecommitdiff
path: root/sand
diff options
context:
space:
mode:
Diffstat (limited to 'sand')
-rwxr-xr-xsand3
1 files changed, 2 insertions, 1 deletions
diff --git a/sand b/sand
index 0073f2d..3f7ce14 100755
--- a/sand
+++ b/sand
@@ -7,7 +7,7 @@ fi;
cmd="bash"
if [ -n "$2" ]; then
- cmd="$2"
+ cmd="$2";
fi;
bwrap \
@@ -36,6 +36,7 @@ bwrap \
--setenv USER $(whoami) \
--setenv SHELL /bin/bash \
--setenv TERM foot \
+ --setenv KAGI_API_KEY $KAGI_API_KEY \
--setenv PATH /home/$(whoami)/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin \
--bind "$1" /home/$(whoami)/project/ \
--chdir /home/$(whoami)/project/ \