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
#!/usr/bin/env bash | |
####################################################### | |
### REQUIREMENTS ###################################### | |
####################################################### | |
## XeLaTeX: Available through most TeX distributions ## | |
## dvisvgm: Available through most TeX distributions ## | |
## svgo (optional, but highly recommended) ## | |
####################################################### | |
### Usage ############################################# |
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
#!/bin/zsh | |
# Rustup doesn't have an easy "system-wide" approach to installation since it | |
# requires $CARGO_HOME for locating the binary folder. Here, we define | |
# `system-wide` as requiring `sudo-only` permission, i.e. `rustup install | |
# toolchain ...` breaks without `sudo`. | |
# | |
# The trick is thus to somehow "envelope" Rustup in another script so that it | |
# uses a "system-wide" cargo home instead of the default one whenever it's | |
# called. |