stark / Color-Scripts

User contributed color scripts
https://git.io/color.sh
973 stars 75 forks source link

Some of the color scripts don't run #20

Open marmalodak opened 3 years ago

marmalodak commented 3 years ago

There's this nifty one-liner I found at https://github.com/dexpota/kitty-themes:

COLOR_SCRIPT_REPO=https://api.github.com/repos/stark/Color-Scripts/contents/color-scripts
wget -q -O - $(curl -s $COLOR_SCRIPT_REPO | jq '.[] | "\(.path) \(.download_url)"' -r | cut -d " " -f2) | bash

I see a bunch of errors. Some of them might need there execute bit set.

I reproduced some of the errors by running this:

for i in *; do echo $i; echo $i >> colors.err; ./$i 2>> colors.err; done

...

hex
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
hex-block
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]

...

pinguco
zsh: permission denied: ./pinguco
pipes1
./pipes1: line 182: read: 0.05: invalid timeout specification

...