UNPKG

477 Bapplication/x-shView Raw
1#!/bin/bash
2
3echo ""
4echo ""
5echo "Termtools has been installed."
6echo ""
7echo ""
8
9bold=$(tput bold)
10normal=$(tput sgr0)
11
12read -p "${bold}Would you like to apply it now?${normal} (y/n)" -n 1 -r
13echo # (optional) move to a new line
14
15if [[ $REPLY =~ ^[Yy]$ ]]
16then
17 echo ""
18 termtools apply
19 echo ""
20else
21 echo ""
22 echo "Ok, just type ${bold}termtools apply${normal} at any time to apply it, or ${bold}termtools restore${normal} to disable it."
23 echo ""
24fi
25