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

Fix last options #88

This commit is contained in:
Mayccoll 2017-08-27 20:15:38 -05:00
parent a3a2aab771
commit 828f448f6f

2
gogh.sh Normal file → Executable file
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
FILENAME="${THEMES[((OP-1))]::-3}"
FILENAME_SPACE="${FILENAME//-/ }"
echo "Theme: ${FILENAME_SPACE^}"