1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

#76 INVALID OPTION!

This commit is contained in:
Mayccoll 2017-07-12 10:34:21 -05:00 committed by GitHub
parent f2f93801dd
commit 5e6845175a

View File

@ -215,7 +215,7 @@ read -p 'Enter OPTION(S) : ' -a OPTION
# |
for OP in "${OPTION[@]}"; do
if [[ $OP<$ARRAYLENGTH ]]; then
if (( OP < ARRAYLENGTH )); then
echo "Theme: ${FILENAME_SPACE^}"
SET_THEME="${THEMES[(($OP-1))]}"
set_gogh "${SET_THEME}"