added source command to rust installation
This commit is contained in:
parent
5b3c2e9052
commit
d06f79dd12
@ -51,7 +51,8 @@ $COMMAND
|
||||
|
||||
# Install Rust
|
||||
if ! [ -x "$(command -v cargo)" ]; then
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y # Install Rust and components
|
||||
source "$HOME/.cargo/env"
|
||||
fi
|
||||
|
||||
# Config Rust version
|
||||
|
Loading…
x
Reference in New Issue
Block a user