Browse Source

created functions for vpn and others

master
Josh Fabean 5 years ago
parent
commit
738dc8eb73
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      .profile

+ 20
- 0
.profile View File

@ -35,6 +35,18 @@ alias docker-composer='docker-compose'
alias docker-start='systemctl start docker'
alias docker-stop='systemctl stop docker'
vpn-start() {
sudo systemctl start openvpn-client@$1
}
vpn-stop() {
sudo systemctl stop openvpn-client@$1
}
vpn-status() {
sudo systemctl status openvpn-client@$1
}
alias dcu='docker-compose up -d'
alias dcd='docker-compose down'
@ -56,6 +68,14 @@ dlogin() {
docker exec -ti $1 /bin/bash
}
pass() {
lpass show -c --password $(lpass ls | fzf | awk '{print $(NF)}' | sed 's/\]//g')
}
cheat() {
curl cht.sh/$1
}
#todo.sh
alias todo='todo.sh'
alias t='todo.sh'


Loading…
Cancel
Save