Try printf for colors on mac

This commit is contained in:
Sangelo 2023-03-06 22:24:20 +01:00
parent 310d792c86
commit b75fbc6121

View file

@ -32,6 +32,6 @@ mkdir -p $HOME/.config/niminit
cp config/* $HOME/.config/niminit cp config/* $HOME/.config/niminit
# Print info message to export local bin if not already # Print info message to export local bin if not already
echo -e "\n" printf "\n"
echo -e "\e[92m>>> \e[0mDone! If you haven't already added your local bin folder to your PATH, you can do so by adding the following line to your .profile, .bashrc or .zshrc" printf "\e[92m>>> \e[0mDone! If you haven't already added your local bin folder to your PATH, you can do so by adding the following line to your .profile, .bashrc or .zshrc"
echo -e "\e[1m\e[91mexport \e[0m\e[33m\$HOME./local/bin:\$PATH" printf "\e[1m\e[91mexport \e[0m\e[33m\$HOME./local/bin:\$PATH"