-
-
Save ctarx/171f0565aff78e5c3b4271b1797899b1 to your computer and use it in GitHub Desktop.
cargo env
This file contains 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/sh | |
# rustup shell setup | |
# affix colons on either side of $PATH to simplify matching | |
case ":${PATH}:" in | |
*:"$HOME/.cargo/bin":*) | |
;; | |
*) | |
# Prepending path in case a system-installed rustc needs to be overridden | |
export PATH="$HOME/.cargo/bin:$PATH" | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment