added quotation marks

nixos
Moritz Böhme 2021-04-11 17:44:05 +02:00
parent 4a86f2edba
commit 7f77e2f98a
1 changed files with 1 additions and 1 deletions

View File

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