diff --git a/bash/alias/kill.sh b/bash/alias/kill.sh index dbe03d1..970352d 100644 --- a/bash/alias/kill.sh +++ b/bash/alias/kill.sh @@ -1,5 +1,10 @@ # kill a process by id -alias k='kill' +alias k="\ +kill \ +" # force kill a process by id -alias kf='kill -9' +alias kf="\ +kill \ +-9 \ +" diff --git a/bash/alias/killall.sh b/bash/alias/killall.sh index 76c30a7..43c4cbe 100644 --- a/bash/alias/killall.sh +++ b/bash/alias/killall.sh @@ -1,5 +1,10 @@ # kill all instances of a process by name -alias ka='killall' +alias ka="\ +killall \ +" # force kill all instances of a process by name -alias kaf='killall -9' +alias kaf="\ +killall \ +-9 \ +"