From 191c19e52321191589d01a91104a18e081096b4a Mon Sep 17 00:00:00 2001 From: ZenithalHourlyRate Date: Sun, 23 May 2021 22:20:18 +0800 Subject: [PATCH] Add env for rustup self-update in help Closes https://github.com/tuna/issues/issues/1254 --- help/_posts/2019-02-15-rustup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/help/_posts/2019-02-15-rustup.md b/help/_posts/2019-02-15-rustup.md index b04cf8e..7325be5 100644 --- a/help/_posts/2019-02-15-rustup.md +++ b/help/_posts/2019-02-15-rustup.md @@ -32,8 +32,10 @@ $ env RUSTUP_DIST_SERVER=https://{{ site.hostname }}/rustup rustup install night ```bash $ # for bash +$ echo 'export RUSTUP_UPDATE_ROOT=https://{{ site.hostname }}/rustup/rustup' >> ~/.bash_profile $ echo 'export RUSTUP_DIST_SERVER=https://{{ site.hostname }}/rustup' >> ~/.bash_profile $ # for fish +$ echo 'set -x RUSTUP_UPDATE_ROOT https://{{ site.hostname }}/rustup/rustup' >> ~/.config/fish/config.fish $ echo 'set -x RUSTUP_DIST_SERVER https://{{ site.hostname }}/rustup' >> ~/.config/fish/config.fish ```