summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-09-27 20:23:18 -0400
committerBen Sima <ben@bsima.me>2021-11-26 13:47:38 -0500
commitef4b5ec052711222c084f01641ad9cbe06a004e3 (patch)
treeb4982993be2a9fdcdb889b2c2896c432612077f9
parentc064dcabccc957fc72ae97561dd70de7e939c418 (diff)
Use nouns in ns script
-rwxr-xr-xBiz/Ide/ns10
1 files changed, 5 insertions, 5 deletions
diff --git a/Biz/Ide/ns b/Biz/Ide/ns
index 22214d3..6d27d46 100755
--- a/Biz/Ide/ns
+++ b/Biz/Ide/ns
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
-if [[ $NS == "" ]]
+if [[ $NOUN == "" ]]
then
- export NS=$(fd --exclude=_ -t f . $BIZ_ROOT | fzf)
+ export NOUN=$(fd --exclude=_ -t f . $BIZ_ROOT | fzf)
fi
if [[ $VERB == "" ]]
@@ -10,7 +10,7 @@ then
export VERB=$(fzf <<< $(sed 's/ /\n/g' <<< "edit bild push ship lint"))
fi
-$VERB $NS
+$VERB $NOUN
printf "\nn:\tchange ns\nv:\tchange verb\nb:\tchange both\n^C:\texit\nelse:\tcontinue\n"
read -p " ns> " -n 1 input
@@ -21,11 +21,11 @@ then
$0
elif [[ $input == "n" ]]
then
- unset NS
+ unset NOUN
$0
elif [[ $input == "b" ]]
then
- unset NS
+ unset NOUN
unset VERB
$0
else