From cd6f38a2e8d5b2f4198831aae0a37c568c69c2ae Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 8 Aug 2022 10:01:32 -0400 Subject: Ensure BIZ_ROOT is set in shell scripts --- Biz/Ide/ns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Biz/Ide/ns') 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 {})" \ -- cgit v1.2.3