dotfiles/bin/cheat

4 lines
90 B
Text
Raw Normal View History

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