From 828f448f6f9b6e3adba1db3cbc35b9caae8c0bf1 Mon Sep 17 00:00:00 2001 From: Mayccoll Date: Sun, 27 Aug 2017 20:15:38 -0500 Subject: [PATCH] Fix last options #88 --- gogh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 gogh.sh diff --git a/gogh.sh b/gogh.sh old mode 100644 new mode 100755 index f2592e7..8e84c28 --- a/gogh.sh +++ b/gogh.sh @@ -215,7 +215,7 @@ read -p 'Enter OPTION(S) : ' -a OPTION # | for OP in "${OPTION[@]}"; do - if (( OP < ARRAYLENGTH )); then + if (( OP <= ARRAYLENGTH )); then FILENAME="${THEMES[((OP-1))]::-3}" FILENAME_SPACE="${FILENAME//-/ }" echo "Theme: ${FILENAME_SPACE^}"