Colors in export now

This commit is contained in:
flyingscorpio@pinebook-pro 2020-03-03 15:09:15 +01:00
parent df425204af
commit 96599a50e9
3 changed files with 7 additions and 16 deletions

View file

@ -30,7 +30,7 @@ else
echo "Cloning new VimConf..." echo "Cloning new VimConf..."
cd && git clone ssh://flyingscorpio@2px.info.tm/~/repos/VimConf.git cd && git clone ssh://flyingscorpio@2px.info.tm/~/repos/VimConf.git
fi fi
cd ~/VimConf && /bin/bash ~/VimConf/update.sh cd ~/VimConf && /bin/bash ~/VimConf/update.sh "$OS"
echo "Setting up Lessons..." echo "Setting up Lessons..."
if [ -e ~/Lessons ]; then if [ -e ~/Lessons ]; then

View file

@ -3,16 +3,6 @@
## This script is used to visually separate commands in the other scripts ## This script is used to visually separate commands in the other scripts
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
ORANGE=$(tput setaf 3)
NC=$(tput sgr0)
export RED
export GREEN
export ORANGE
export NC
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo -n "${GREEN}" echo -n "${GREEN}"
else else

View file

@ -8,6 +8,11 @@ GREEN=$(tput setaf 2)
ORANGE=$(tput setaf 3) ORANGE=$(tput setaf 3)
NC=$(tput sgr0) NC=$(tput sgr0)
export RED
export GREEN
export ORANGE
export NC
############# #############
# DEFINE OS # # DEFINE OS #
@ -129,10 +134,6 @@ echo "Cloning projects..."
echo "Configuring ProtonVPN..." echo "Configuring ProtonVPN..."
if sudo protonvpn init; then sudo protonvpn init && sudo protonvpn c --cc NL
sudo protonvpn c --cc NL
else
echo "${RED}There was a problem with protonvpn init${NC}"
fi
/bin/bash ~/PersonnalScripts/SetupCockpit/separator.sh /bin/bash ~/PersonnalScripts/SetupCockpit/separator.sh