summaryrefslogtreecommitdiff
path: root/Biz/Ide/ns
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-08-08 10:01:32 -0400
committerBen Sima <ben@bsima.me>2022-08-08 10:01:32 -0400
commitcd6f38a2e8d5b2f4198831aae0a37c568c69c2ae (patch)
tree8546248171260064e3d8e352a1a0de46707353b4 /Biz/Ide/ns
parente9d639f7d6f21498c450db36d46e1e6ac6c0b17e (diff)
Ensure BIZ_ROOT is set in shell scripts
Diffstat (limited to 'Biz/Ide/ns')
-rwxr-xr-xBiz/Ide/ns2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Ide/ns b/Biz/Ide/ns
index 8ca8d98..c32b5d2 100755
--- a/Biz/Ide/ns
+++ b/Biz/Ide/ns
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
-fd --exclude=_ -t f . $BIZ_ROOT | sed "s,$BIZ_ROOT/*,,g" \
+fd --exclude=_ -t f . ${BIZ_ROOT:?} | sed "s,${BIZ_ROOT:?}/*,,g" \
| fzf \
--bind "alt-space:execute(bild {} && read -p [fin])" \
--bind "alt-enter:execute(vim {})" \