From ef4b5ec052711222c084f01641ad9cbe06a004e3 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 27 Sep 2021 20:23:18 -0400 Subject: Use nouns in ns script --- Biz/Ide/ns | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Biz/Ide/ns') 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 -- cgit v1.2.3