Gogh-Co / Gogh

Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal also compatible with iTerm on macOS.
https://gogh-co.github.io/Gogh/
MIT License
9.23k stars 586 forks source link

INVALID OPTION! error when installing themes #76

Closed Yoh0xFF closed 7 years ago

Yoh0xFF commented 7 years ago

You have an error in the gogh.sh script.

For example, if I want to install the theme Dracula, I run gogh.sh script enter 33 in input and instead of installing the theme I am getting the error - INVALID OPTION!

This happens because you have error on the line 218 in the gogh.sh script.

Expression

if [[ $OP < $ARRAYLENGTH ]]; then

is invalid, there must be

if (( OP < ARRAYLENGTH )); then

For advanced details please see this link - stackoverflow.

Mgldvd commented 7 years ago

Thanks