dotfiles/common
Ahmad Ansori Palembani a843e5236a
refactor(script/bootstrap): Allow pre-bootstrap to be ran
automatically by `bootstrap`

This will simplify the process of installing the dotfiles while still
giving users control
2024-07-20 09:00:06 +07:00

10 lines
111 B
Bash

#!/bin/sh
prompt() {
printf "$1"
read INPUT
case $INPUT in
[yY] ) return 0 ;;
* ) return 1 ;;
esac;
}