From ba7d75438fb5e295fe40119e4f600d84d9b3104e Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Tue, 17 Oct 2017 12:00:02 +0100 Subject: [PATCH] Adding new stuff --- .bash_aliases | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 73ddede..dfea448 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -29,7 +29,7 @@ alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E alias svali_papka=download_github_folder alias omg="sudo service NetworkManager restart" alias zsh_fix="mv ~/.zsh_history ~/.zsh_history_bad; strings ~/.zsh_history_bad > ~/.zsh_history;fc -R ~/.zsh_history; rm ~/.zsh_history_bad" -alias whatismyip="curl ifconfig.co" +alias myip="curl ifconfig.co" alias rmswp="find ~/.vim/tmp/ -iname \"*swp\" -delete" alias root="sudo su" @@ -59,13 +59,13 @@ alias mkdir="mkdir -pv" alias upgrade="sudo apt upgrade" alias install="sudo apt install" -function secureme(){ - workon ansible; - cd /home/viktor/ansible-play/ - ansible-playbook -i ./hosts --extra-vars "ansible_sudo_pass=$ROOTPASS" --tags "vpn_startup" main.yml >> /dev/null - cd /home/viktor/; - sudo openvpn --config viktor.ovpn & -} +# function secureme(){ +# workon ansible; +# cd /home/viktor/ansible-play/ +# ansible-playbook -i ./hosts --extra-vars "ansible_sudo_pass=$ROOTPASS" --tags "vpn_startup" main.yml >> /dev/null +# cd /home/viktor/; +# sudo openvpn --config viktor.ovpn & +# } function in(){ if [ $# -ne 1 ] && [ $# -ne 2 ];