summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-06-17 15:10:33 -0400
committerBen Sima <ben@bsima.me>2021-11-26 13:47:36 -0500
commitaf28ed31aa36ef0de0a8f65bba9fe066e129c57b (patch)
treefa6cf01eb05a68402e85cee8b9ff92019b4fd5e8
parentfdc7f3650a5ec6293c52c800d0fafcb2609e78a5 (diff)
Add both option
-rwxr-xr-xBiz/Ide/ns7
1 files changed, 6 insertions, 1 deletions
diff --git a/Biz/Ide/ns b/Biz/Ide/ns
index 2791903..54d11d4 100755
--- a/Biz/Ide/ns
+++ b/Biz/Ide/ns
@@ -12,7 +12,7 @@ fi
$VERB $NS
-read -p "n to change ns, v to change verb, enter to continue, or ^C to exit" -n 1 input
+read -p "n: change ns, v: change verb, b: change both, ^C: exit, else: continue" -n 1 input
if [[ $input == "v" ]]
then
@@ -22,6 +22,11 @@ elif [[ $input == "n" ]]
then
unset NS
$0
+elif [[ $input == "b" ]]
+then
+ unset NS
+ unset VERB
+ $0
else
$0
fi