mirror of
https://github.com/runyanjake/dotfiles.git
synced 2026-02-03 16:47:29 -08:00
1.7 KiB
1.7 KiB
Alacritty
A terminal that can handle a nerd font. Used alongside lazyvim.
MacOS
- Download a release from
https://github.com/alacritty/alacritty/releasesor get it using Homebrew
brew install --cask alacritty
- Install a nerd font. This is just some one suggested online.
brew install font-meslo-lg-nerd-font
- Create an Alacritty config folder and link the alacritty config in this repo into there.
mkdir -p ~/.config/alacritty
ln -sfn /path/to/dotfiles/lazyvim/alacritty-macos.toml ~/.config/alacritty/alacritty.toml
Ubuntu
- Install Alacritty through a third-party PPA.
sudo add-apt-repository ppa:aslatter/ppa
sudo apt update
sudo apt install alacritty
- Install a nerd font (I am using "MesloLG Nerd Font" from
https://www.nerdfonts.com/font-downloads)
unzip Meslo.zip -d Meslo
mkdir ~/.local/share/fonts
cp Meslo/*.ttf ~/.local/share/fonts
fc-cache -fv
rm -r Meslo Meslo.zip
- Create an Alacritty config folder and link the alacritty config in this repo into there.
mkdir -p ~/.config/alacritty
ln -sfn /path/to/dotfiles/alacritty/alacritty-ubuntu.toml ~/.config/alacritty/alacritty.toml
Windows
- Install Alacritty.
- Install a Nerd Font ( Download nerd font of choice. I am using MesoLG Nerd Font. Right click and select "Install".
- Windows will not follow WSL symlinks, so you have to do it their way:
mkdir C:\Users\username\AppData\Roaming\alacritty
New-Item -ItemType SymbolicLink -Path "C:\Users\YOURUSER\AppData\Roaming\alacritty\alacritty.toml" -Target "C:\path\to\dotfiles\alacritty\alacritty-windows.toml"