Skip to content

Commit 3c63ac9

Browse files
authored
Merge pull request #2093 from Dev-next-gen/install-exact-font-name
install.sh: Match font names exactly
2 parents e411358 + bec0731 commit 3c63ac9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎install.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Author: Markus Heiser <markus.heiser@darmarit.de>
2222
# Keywords: NerdFonts
2323
#
24-
scriptversion="2.2.3"
24+
scriptversion="2.2.4"
2525
# Nerd Fonts Version: 3.5.1
2626

2727
# shellcheck enable=require-variable-braces
@@ -390,7 +390,7 @@ nerd_font_list() {
390390
nerd_find_spelling() {
391391
nerd_released_archives |
392392
while IFS= read -r line; do
393-
if [[ "${1}" =~ ${line%%|*} ]]; then
393+
if [[ "${1}" == "${line%%|*}" ]]; then
394394
echo "${line%%|*}"
395395
return
396396
fi

0 commit comments

Comments
 (0)