dotfiles/bin/cheat

4 lines
92 B
Text
Raw Normal View History

2021-04-01 21:02:01 +02:00
#!/bin/bash
cat="$(which bat 2>/dev/null || which cat)"
2021-04-11 17:44:05 +02:00
curl -s "cheat.sh/$1" | eval "$cat"