Last active
August 10, 2018 14:40
-
-
Save okor/390087570bda93f985a4866a71e4d5f0 to your computer and use it in GitHub Desktop.
Compile & Install Alacritty for MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install rustup.rs | |
curl https://sh.rustup.rs -sSf | sh | |
git clone https://github.com/jwilm/alacritty.git | |
cd alacritty | |
# Optional: use 'scrollback' branch | |
git checkout scrollback | |
rustup override set stable | |
rustup update stable | |
make app | |
cp -r target/release/osx/Alacritty.app /Applications/ | |
sudo mkdir -p /usr/local/share/man/man1 | |
gzip -c alacritty.man | sudo tee /usr/local/share/man/man1/alacritty.1.gz > /dev/null | |
echo "source $(pwd)/alacritty-completions.bash" >> ~/.bash_profile | |
# Optional: source ~/.bash_profile in ~/.bashrc | |
# Alacritty seems to auto-source, .bashrc but not .bash_profile | |
touch ~/.bashrc | |
echo "source ~/.bash_profile" > ~/.bashrc | |
# Now just launch Alacritty from spotlight | |
# Configure by editing ~/.config/alacritty/alacritty.yml | |
# Maybe check out themes https://github.com/jwilm/alacritty/wiki/Color-schemes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment