This commit is contained in:
Marc Beninca 2024-11-18 16:37:07 +01:00
parent e55392137c
commit 0b4ac490cd
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,11 +1,13 @@
# kill a process by id # kill a process by id
k() { k() { sh_a__kill "${@}"; }
sh_a__kill() {
kill \ kill \
"${@}" "${@}"
} }
# force kill a process by id # force kill a process by id
kf() { kf() { sh_a__kill_force "${@}"; }
sh_a__kill_force() {
kill \ kill \
-9 \ -9 \
"${@}" "${@}"