A simple script to ask for user confirmation on shell commands
$ confirm 'u sure mate?' && rm somefile
Output:
u sure mate? [y/N]
$ confirm && rm somefile
Output:
Are you sure? [y/N]
git clone git@github.com:matheusbn/confirm.sh.git && cd confirm.sh && ./install.sh