mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
add icat script
This commit is contained in:
10
rua-scripts/kitty.sh
Normal file
10
rua-scripts/kitty.sh
Normal 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
|
||||||
|
}
|
Reference in New Issue
Block a user