Color-Scripts icon indicating copy to clipboard operation
Color-Scripts copied to clipboard

Some of the color scripts don't run

Open marmalodak opened this issue 5 years ago • 0 comments

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

...

marmalodak avatar Dec 04 '20 04:12 marmalodak