diff options
Diffstat (limited to 'Biz')
-rwxr-xr-x | Biz/Ide/ns | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |