added quotation marks

This commit is contained in:
Moritz Böhme 2021-04-11 17:44:05 +02:00
parent 4a86f2edba
commit 7f77e2f98a

View file

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