14 lines
169 B
Plaintext
14 lines
169 B
Plaintext
|
#!/usr/bin/env zsh
|
||
|
set -eo pipefail
|
||
|
|
||
|
_stopnow() {
|
||
|
test -f stopnow && echo "Stopping!" && rm stopnow && exit 0 || return 0
|
||
|
}
|
||
|
|
||
|
while true
|
||
|
do
|
||
|
_stopnow
|
||
|
menu
|
||
|
done
|
||
|
|