added bin to path and fixed scripts

This commit is contained in:
Moritz Böhme 2021-10-06 17:37:15 +02:00
parent 7ad9eb5726
commit 42208d0029
7 changed files with 18 additions and 58 deletions

View file

@ -1,3 +1,2 @@
#!/bin/bash
cat="$(which bat 2>/dev/null || which cat)"
curl -s "cheat.sh/$1" | eval "$cat"
#!/usr/bin/env zsh
curl -s "cheat.sh/$1" | bat