add icat script

This commit is contained in:
xfy
2025-02-24 17:48:54 +08:00
parent de81a5ce01
commit 52fc6d4c2e

10
rua-scripts/kitty.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/env bash
incat() {
if [ -z "$1" ]; then
echo "Usage: incat <url>"
return 1
fi
curl "$1" --output - | kitten icat
}