ryanoasis / nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
https://NerdFonts.com
Other
55k stars 3.65k forks source link

Line 171 install.sh error #1680

Open DCMill opened 3 months ago

DCMill commented 3 months ago

Requirements

Experienced Behavior

I got this error on my mac:

Nerd Fonts installer -- Version 0.7
install.sh: line 171: syntax error near unexpected token `<'
install.sh: line 171: `done < <(eval "$find_command")'

Expected Behavior

I expected it to work just fine with no errors

Example Symbols or Text

No response

Font Used

3270

Source of Font File

I used github and then cloned it I was following this tutorial: https://docs.rockylinux.org/books/nvchad/nerd_fonts/

Terminal Emulator (and the title of the terminal window)

kitty

Operating System and Version

macOS Sonoma 14.1.2

Screenshots

No response

Finii commented 3 months ago

Did you install a not-ancient bash (via Homebrew for example)?

On Mac I would recommend using Homebrew to install the fonts via brew, and / or at least have a decent version of bash. I can have a look later, but usually bash 3 is not supported; maybe we should refuse to execute on that?

Finii commented 3 months ago

brew install font-3270-nerd-font or similar ;)

Finii commented 5 days ago

Same with the test-fonts script. Maybe at least add a check for the bash version and/or how to install a recent bash under MacOS.