From b00873dc452906d07822a10615d7b44af867f287 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 18 Jan 2024 19:33:53 +0000 Subject: [PATCH] Add font for macOS --- macos.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/macos.sh b/macos.sh index 6aa91d08..68608a35 100755 --- a/macos.sh +++ b/macos.sh @@ -33,4 +33,13 @@ echo -e "${GREEN}[+] Installing homebrew...${ENDCOLOR}" # Enable brew eval "$(/opt/homebrew/bin/brew shellenv)" +# Install Nerd Font +if p c font-jetbrains-mono-nerd-font &>/dev/null; then + echo -e "${GREEN}[i] JetBrains font is installed.${ENDCOLOR}" +else + echo -e "${GREEN}[+] Installing JetBrains font.${ENDCOLOR}" + p i font-jetbrains-mono-nerd-font + echo -e "${GREEN}[i] JetBrains font installed.${ENDCOLOR}" +fi + echo -e "${GREEN}${BOLD}[i] All done.${ENDCOLOR}"