Add colors to input

This commit is contained in:
Ivan Bushchik 2023-01-04 10:20:36 +03:00
parent fc3205c818
commit ea52577b10

View file

@ -30,8 +30,8 @@ echo "${ARROW} Installing htop"
$TEA +htop.dev zsh -c "exit" $TEA +htop.dev zsh -c "exit"
echo "${ARROW} Installing git" echo "${ARROW} Installing git"
$TEA +git-scm.org zsh -c "exit" $TEA +git-scm.org zsh -c "exit"
printf "${INPUT}"
read -p ":: Would you like to install compilers/interpretators (LLVM, Rust, Python)? (y/N): " INSTALL_COMPILERS read -p " Would you like to install compilers/interpretators (LLVM, Rust, Python)? (y/N): " INSTALL_COMPILERS
if [[ $INSTALL_COMPILERS == "y" || $INSTALL_COMPILERS == "Y" ]]; then if [[ $INSTALL_COMPILERS == "y" || $INSTALL_COMPILERS == "Y" ]]; then
echo "${ARROW} Installing rust" echo "${ARROW} Installing rust"
$TEA +rust-lang.org zsh -c "exit" $TEA +rust-lang.org zsh -c "exit"
@ -41,7 +41,8 @@ if [[ $INSTALL_COMPILERS == "y" || $INSTALL_COMPILERS == "Y" ]]; then
$TEA +python.org zsh -c "exit" $TEA +python.org zsh -c "exit"
fi fi
read -p ":: Would you like to install development tools (GitHub CLI, make/cmake/meson/ninja)? (y/N): " INSTALL_TOOLS printf "${INPUT}"
read -p " Would you like to install development tools (GitHub CLI, make/cmake/meson/ninja)? (y/N): " INSTALL_TOOLS
if [[ $INSTALL_TOOLS == "y" || $INSTALL_TOOLS == "Y" ]]; then if [[ $INSTALL_TOOLS == "y" || $INSTALL_TOOLS == "Y" ]]; then
echo "${ARROW} Installing GitHub CLI" echo "${ARROW} Installing GitHub CLI"
$TEA +cli.github.com zsh -c "exit" $TEA +cli.github.com zsh -c "exit"