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 \ + "${@}" +}