From 84dda8c9fdfa0cb1aab2bcda1043a82df6df2a9d Mon Sep 17 00:00:00 2001 From: Anri Date: Sun, 14 Nov 2021 22:20:42 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'installRust.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installRust.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/installRust.sh b/installRust.sh index 670d3f6..a4ba268 100644 --- a/installRust.sh +++ b/installRust.sh @@ -1,8 +1,7 @@ which curl &> /dev/null || ( sudo apt update; sudo apt install curl -y ) # Install curl if not already installed # Install rust -curl https://sh.rustup.rs -sSf | sh -s -- -y -source $HOME/.cargo/env +curl https://sh.rustup.rs -sSf | ( sh -s -- -y; source $HOME/.cargo/env ) # If fish is used, adding cargo to path if [ -x $HOME/.config/fish ] ; then fish -c 'set -Up fish_user_paths ~/.cargo/bin'