added functions

This commit is contained in:
Brad Ganley 2022-08-01 13:03:26 -05:00
parent 69f610d776
commit bc9f171b94

View File

@ -15,6 +15,7 @@ alias please='sudo'
alias fucking='sudo' alias fucking='sudo'
alias cat='batcat' alias cat='batcat'
alias src='source .bashrc' alias src='source .bashrc'
alias svim='sudo vim'
alias ding='ping -i 5 -a' alias ding='ping -i 5 -a'
# Utilities # Utilities
@ -22,8 +23,9 @@ alias pang='ping -i 10 -v -a'
alias mnts='mount | column -t' alias mnts='mount | column -t'
alias h='history' alias h='history'
alias hgrep='history | grep' alias hgrep='history | grep'
alias netdis='sudo netdiscover -S -f -i eno1' alias doco='docker-compose'
alias rscad='sudo systemctl restart caddy'
alias docprune='docker image prune && docker network prune && docker container prune && docker volume prune'
# Tmux # Tmux
alias mux='tmux new -s main' alias mux='tmux new -s main'
alias ta='tmux -2 a -t' alias ta='tmux -2 a -t'
@ -40,3 +42,9 @@ extip(){ ip=$(curl -s http://api.ipify.org);
} }
ch() { curl "http://cheat.sh/$@"; } ch() { curl "http://cheat.sh/$@"; }
alias sysres='sudo systemctl restart'
alias sysup='sudo systemctl enable --now'
alias sysdn='sudo systemctl disable --now'
notica() { curl --data "d:$*" "https://noti.toad.city/?VFvu53" ; }
pb () { curl --form-string "token=azvux186smiqcg4v3zzpzmu1xz7z2y" --form-string "user=P12LJMVt9iJNID7qjDh9G2zCzLO49j" --form-string "message=$*" -s https://api.pushover.net/1/messages.json>/dev/null; }