diff --git a/sh/alias/killall.sh b/sh/alias/killall.sh index a4d083e..0f63b0e 100644 --- a/sh/alias/killall.sh +++ b/sh/alias/killall.sh @@ -1,11 +1,13 @@ # kill all instances of a process by name -ka() { +ka() { sh_a__kill_all "${@}"; } +sh_a__kill_all() { killall \ "${@}" } # force kill all instances of a process by name -kaf() { +kaf() { sh_a__kill_all_force "${@}"; } +sh_a__kill_all_force() { killall \ -9 \ "${@}"