1 |
|
2 |
|
3 | echo ""
|
4 | echo ""
|
5 | echo "Termtools has been installed."
|
6 | echo ""
|
7 | echo ""
|
8 |
|
9 | bold=$(tput bold)
|
10 | normal=$(tput sgr0)
|
11 |
|
12 | read -p "${bold}Would you like to apply it now?${normal} (y/n)" -n 1 -r
|
13 | echo # (optional) move to a new line
|
14 |
|
15 | if [[ $REPLY =~ ^[Yy]$ ]]
|
16 | then
|
17 | echo ""
|
18 | termtools apply
|
19 | echo ""
|
20 | else
|
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 ""
|
24 | fi
|
25 |
|