From 2a78b2336a19c4815ce71c60b81e34856948ab4c Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Sat, 25 Jun 2022 09:54:52 -0400 Subject: [PATCH] Add killchalice bin command --- dotfiles/bin/.local/bin/killchalice | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 dotfiles/bin/.local/bin/killchalice diff --git a/dotfiles/bin/.local/bin/killchalice b/dotfiles/bin/.local/bin/killchalice new file mode 100755 index 0000000..1fe4447 --- /dev/null +++ b/dotfiles/bin/.local/bin/killchalice @@ -0,0 +1,4 @@ +#!/usr/local/bin/fish +# +kill -9 (ps -a | grep chalice | grep -v tmux | grep -v killchalice | cut -c1-5) &> /dev/null +kill -9 (ps -a | grep chalice | grep -v tmux | cut -c1-5)