added functions
This commit is contained in:
parent
69f610d776
commit
bc9f171b94
@ -15,6 +15,7 @@ alias please='sudo'
|
||||
alias fucking='sudo'
|
||||
alias cat='batcat'
|
||||
alias src='source .bashrc'
|
||||
alias svim='sudo vim'
|
||||
alias ding='ping -i 5 -a'
|
||||
|
||||
# Utilities
|
||||
@ -22,8 +23,9 @@ alias pang='ping -i 10 -v -a'
|
||||
alias mnts='mount | column -t'
|
||||
alias h='history'
|
||||
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
|
||||
alias mux='tmux new -s main'
|
||||
alias ta='tmux -2 a -t'
|
||||
@ -40,3 +42,9 @@ extip(){ ip=$(curl -s http://api.ipify.org);
|
||||
}
|
||||
|
||||
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; }
|
||||
|
Loading…
Reference in New Issue
Block a user