From 94b3b79c565220c760229e470c7163d0cfa9e720 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Thu, 21 Apr 2022 20:18:20 +0000 Subject: [PATCH] Add fish wrapper Signed-off-by: Georg Pfuetzenreuter --- catsit.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 catsit.fish diff --git a/catsit.fish b/catsit.fish new file mode 100644 index 0000000..d74951b --- /dev/null +++ b/catsit.fish @@ -0,0 +1,9 @@ +function catsit + set pipe /run/catsit/catsitd + if [ -p $pipe ] + /usr/local/sbin/catsit -c $pipe $argv + end + if [ ! -p $pipe ] + echo "Connection impossible." + end +end