From 0b4ac490cd994bdfc0977d5cdf96b7a8f39f377e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 18 Nov 2024 16:37:07 +0100 Subject: [PATCH] kill --- sh/alias/kill.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sh/alias/kill.sh b/sh/alias/kill.sh index a6e105c..ce47bd9 100644 --- a/sh/alias/kill.sh +++ b/sh/alias/kill.sh @@ -1,11 +1,13 @@ # kill a process by id -k() { +k() { sh_a__kill "${@}"; } +sh_a__kill() { kill \ "${@}" } # force kill a process by id -kf() { +kf() { sh_a__kill_force "${@}"; } +sh_a__kill_force() { kill \ -9 \ "${@}"