summary refs log tree commit diff
path: root/bin/cht
blob: 0aac7471d8830b5456c77125ce19c1b551aea664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -eu

if [ $# -lt 1 ]; then
	topic=$(curl -sSf cht.sh/:list | fzfez)
else
	topic=$*
fi

curl -sSf cht.sh/"$topic"