Add alias for protonvpn

This commit is contained in:
flying-scorpio 2020-01-07 12:37:37 +01:00
parent f4ffb44f9d
commit 4f9ffdf2db

26
setup_cockpit.sh Normal file → Executable file
View file

@ -2,6 +2,7 @@
# Script to automate the setting up of my working environment. # Script to automate the setting up of my working environment.
# First make sure the keepass Database.kdbx is in a folder. # First make sure the keepass Database.kdbx is in a folder.
# Open keepass in a separate window. The script will prompt for passwords.
#################### ####################
@ -11,6 +12,19 @@
echo "alias ll='ls -lArth'" >> ~/.bash_aliases echo "alias ll='ls -lArth'" >> ~/.bash_aliases
echo "alias lime2connect='ssh flyingscorpio@2px.info.tm'" >> ~/.bash_aliases echo "alias lime2connect='ssh flyingscorpio@2px.info.tm'" >> ~/.bash_aliases
echo "alias gccstd='gcc -O2 -Wall -Wextra -Wno-unused-result -std=gnu99'" >> ~/.bash_aliases echo "alias gccstd='gcc -O2 -Wall -Wextra -Wno-unused-result -std=gnu99'" >> ~/.bash_aliases
echo "alias protonvpn='sudo protonvpn'" >> ~/.bash_aliases
#####################
# Install ProtonVPN #
#####################
sudo apt install -y openvpn dialog python3-pip python3-setuptools
sudo pip3 install protonvpn-cli
sudo protonvpn init
# Connect to ProtonVPN fastest server
sudo protonvpn c -f
#################### ####################
@ -33,18 +47,6 @@ git config --global alias.st "status"
git config --global alias.br "branch" git config --global alias.br "branch"
#####################
# Install ProtonVPN #
#####################
sudo apt install -y openvpn dialog python3-pip python3-setuptools
sudo pip3 install protonvpn-cli
sudo protonvpn init
# Connect to ProtonVPN fastest server
sudo protonvpn c -f
######################## ########################
# Install SublimeText3 # # Install SublimeText3 #
######################## ########################