diff options
author | Ben Sima <ben@bsima.me> | 2021-06-17 15:10:33 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-11-26 13:47:36 -0500 |
commit | af28ed31aa36ef0de0a8f65bba9fe066e129c57b (patch) | |
tree | fa6cf01eb05a68402e85cee8b9ff92019b4fd5e8 | |
parent | fdc7f3650a5ec6293c52c800d0fafcb2609e78a5 (diff) |
Add both option
-rwxr-xr-x | Biz/Ide/ns | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |