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:
parent
c212f09fe3
commit
a843e5236a
3 changed files with 55 additions and 21 deletions
10
common
Normal file
10
common
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
prompt() {
|
||||
printf "$1"
|
||||
read INPUT
|
||||
case $INPUT in
|
||||
[yY] ) return 0 ;;
|
||||
* ) return 1 ;;
|
||||
esac;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue