From 5af5181aa49bbd3efb9d34df72bd28a28f8fb585 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 15:42:21 +0100 Subject: [PATCH] ka,kaf --- shell/alias/killall.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/shell/alias/killall.sh b/shell/alias/killall.sh index 43c4cbe..2fbb157 100644 --- a/shell/alias/killall.sh +++ b/shell/alias/killall.sh @@ -1,10 +1,12 @@ # kill all instances of a process by name -alias ka="\ -killall \ -" +ka() { + killall \ + "${@}" +} # force kill all instances of a process by name -alias kaf="\ -killall \ --9 \ -" +kaf() { + killall \ + -9 \ + "${@}" +}