From 7ae9eb739a5a4f78d2479701ca4f92e541694481 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 15:40:17 +0100 Subject: [PATCH] k,kf --- shell/alias/kill.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/shell/alias/kill.sh b/shell/alias/kill.sh index 970352d..a6e105c 100644 --- a/shell/alias/kill.sh +++ b/shell/alias/kill.sh @@ -1,10 +1,12 @@ # kill a process by id -alias k="\ -kill \ -" +k() { + kill \ + "${@}" +} # force kill a process by id -alias kf="\ -kill \ --9 \ -" +kf() { + kill \ + -9 \ + "${@}" +}