This commit is contained in:
Marc Beninca 2024-11-18 16:38:17 +01:00
parent 5e21bdec58
commit 95ea69c92f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,11 +1,13 @@
# kill all instances of a process by name # kill all instances of a process by name
ka() { ka() { sh_a__kill_all "${@}"; }
sh_a__kill_all() {
killall \ killall \
"${@}" "${@}"
} }
# force kill all instances of a process by name # force kill all instances of a process by name
kaf() { kaf() { sh_a__kill_all_force "${@}"; }
sh_a__kill_all_force() {
killall \ killall \
-9 \ -9 \
"${@}" "${@}"