summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/kn2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/kn b/.local/bin/kn
index 809a81d..da668ba 100755
--- a/.local/bin/kn
+++ b/.local/bin/kn
@@ -6,6 +6,8 @@ if ! [ -d "${context}" ]
then notify-send "kn" "${context} is not a dir!"; exit 1
fi
+export PATH="${context}/bin:${PATH}"
+
if [ -f "${context}/name" ]
then exec kak-shell "$(cat "${context}/name")"
else notify-send "kn" "Context has no name!"; exit 1