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:
parent
a3a2aab771
commit
828f448f6f
2
gogh.sh
Normal file → Executable file
2
gogh.sh
Normal file → Executable 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^}"
|
||||
|
Loading…
Reference in New Issue
Block a user