Install JetBrains Mono Nerd Font on macOS

This commit is contained in:
2026-03-29 20:31:40 +02:00
parent bdb54822b0
commit 07f0a224a6
2 changed files with 18 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ Linux:
macOS: macOS:
```brew install git neovim lsd tmux``` ```brew install git neovim lsd tmux```
On macOS, `install.sh` also installs the `font-jetbrains-mono-nerd-font` Homebrew cask.
From your users home directory (~/), execute: From your users home directory (~/), execute:
```git clone gitea@git.24unix.net:tracer/dotfiles.git .config/dotfiles``` ```git clone gitea@git.24unix.net:tracer/dotfiles.git .config/dotfiles```

View File

@@ -105,6 +105,7 @@ apply_dotfiles() {
if [ "$(uname -s)" = "Darwin" ]; then if [ "$(uname -s)" = "Darwin" ]; then
install_karabiner_config install_karabiner_config
fi fi
install_fonts
install_kitty_icon install_kitty_icon
install_tmux_plugins install_tmux_plugins
install_powerlevel10k install_powerlevel10k
@@ -188,6 +189,21 @@ install_kitty_icon() {
echo echo
} }
install_fonts() {
if [ "$(uname -s)" != "Darwin" ]; then
return
fi
if ! command_exists brew; then
skip "font installation: Homebrew is not installed."
return
fi
echo "${BLUE}Installing fonts...${RESET}"
brew install --cask font-jetbrains-mono-nerd-font
echo
}
install_tmux_plugins() { install_tmux_plugins() {
echo "${BLUE}Installing tmux plugins...${RESET}" echo "${BLUE}Installing tmux plugins...${RESET}"