From af28ed31aa36ef0de0a8f65bba9fe066e129c57b Mon Sep 17 00:00:00 2001
From: Ben Sima <ben@bsima.me>
Date: Thu, 17 Jun 2021 15:10:33 -0400
Subject: Add both option

---
 Biz/Ide/ns | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'Biz')

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
-- 
cgit v1.2.3