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
This commit is contained in:
Ahmad Ansori Palembani 2024-07-20 09:00:06 +07:00
parent c212f09fe3
commit a843e5236a
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 55 additions and 21 deletions

10
common Normal file
View file

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