-
(optional) install Homebrew on you mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install Alacritty terminal emulator
brew install --cask alacritty
-
Install a Nerd Font (for example try this FiraCode Nerd Font)
-
Install starship prompt
-
To install via brew
brew install starship
-
Add the following to the end of ~/.zshrc (create one if you don't have in your home directory)
eval "$(starship init zsh)"
-
-
Add Alacritty config file to customize look of Alacritty
mkdir -p .config/alacritty/ cd .config/alacritty/ touch alacritty.yml
-
Add the following inside the alacritty.yml file
window: opacity: 0.85 padding: x: 18 y: 16 dynamic_padding: false decorations: buttonless font: normal: family: "FiraCode Nerd Font Mono" style: Regular size: 14.0
-
Restart Alacritty to see all the changes
Last active
July 11, 2023 09:55
-
-
Save nivethan-me/e46f1c7bb9c30d4a2ee5813c8148eed6 to your computer and use it in GitHub Desktop.
Setup a simple and elegant terminal on macOS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment