quick-switch

This commit is contained in:
Alex 2024-07-26 18:29:28 -04:00
parent 448bf425c3
commit 57a1eb5325
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
# Stolen from https://stackoverflow.com/a/29436423
function yes_or_no {
while true; do
read -p "$* [y/n]: " yn