Changed killport to script, not alias

This commit is contained in:
z3rOR0ne 2022-10-15 21:32:25 -07:00
parent f94a6dd3e5
commit c64d90e2b2
2 changed files with 2 additions and 1 deletions

View file

@ -204,7 +204,6 @@ alias pf="pfetch"
alias has="dependencycheck"
alias ipaddr="curl ifconfig.me/all.json | jq"
alias hwclock="doas hwclock"
alias killport="fuser -k"
alias kill9="killall -9" # kills process by name, e.g. kill9 cmus
alias npm_upgrade="doas npm install --location=global npm@latest"
alias {pacquery,pacgrep,pacq}="pacman -Q | grep $1"

2
scripts/killport Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
fuser -k "$1"/tcp