From f005fbf41646437964458d4c2028e6fdc04b59a1 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Fri, 18 Nov 2022 18:07:38 +0100 Subject: bin: add a few scripts --- bin/cht | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/cht (limited to 'bin/cht') diff --git a/bin/cht b/bin/cht new file mode 100755 index 0000000..0aac747 --- /dev/null +++ b/bin/cht @@ -0,0 +1,10 @@ +#!/bin/sh +set -eu + +if [ $# -lt 1 ]; then + topic=$(curl -sSf cht.sh/:list | fzfez) +else + topic=$* +fi + +curl -sSf cht.sh/"$topic" -- cgit 1.4.1