Last active
November 30, 2021 11:30
-
-
Save dangh/d2ba29efbc065491f67a6b7a743cf53d to your computer and use it in GitHub Desktop.
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 rust | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
export PATH="$HOME/.cargo/bin:$PATH" | |
# clone crossfont and alacritty | |
git clone --depth 1 https://github.com/alacritty/crossfont.git | |
git clone --depth 1 https://github.com/alacritty/alacritty.git | |
# patching | |
sed -i '' -E 's/(set_allows_font_smoothing|set_should_smooth_fonts)\(true\)/\1(!use_thin_strokes)/' crossfont/src/darwin/mod.rs | |
sed -i '' -E 's/(crossfont = \{ )version = "[^"]+"/\1path = "\.\.\/\.\.\/crossfont"/' alacritty/alacritty/Cargo.toml | |
# build and mount dmg | |
cd alacritty | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment