feat: macos and brew install support

This commit is contained in:
Andrejus Kostarevas
2024-01-25 00:27:04 +00:00
parent 62e6c0243e
commit 61fb58e90c
15 changed files with 148 additions and 45 deletions

20
script/install.d/03-nerdfont.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# (macOS only) Install nerdfonts.
#
if [[ "$OSTYPE" == "darwin"* ]]; then
fonts_list=(
font-fira-mono-nerd-font
font-fira-code-nerd-font
)
brew tap homebrew/cask-fonts
for font in "${fonts_list[@]}"; do
brew install --cask "$font"
done
unset fonts_list
fi