summaryrefslogtreecommitdiff
path: root/sand
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-09-20 10:17:36 +0100
committertslil <tslil@posteo.de>2026-09-20 10:18:19 +0100
commite9439c89187fc736da234d4584e2cbaf217d35f0 (patch)
tree3ca63d26701d717507bc0da1754d547d46db93f8 /sand
parent30e3fd068433ee1f6feb28b524efce09a33e6f7e (diff)
sand: insert KAGI_SEARCH_API_KEY
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/ \