Mise à jour de 'installRust.sh'

This commit is contained in:
Anri 2021-11-14 22:10:02 +01:00
parent a69f710aae
commit fe62f94f26

View file

@ -4,7 +4,7 @@ curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env source $HOME/.cargo/env
# If fish is used, adding cargo to path # If fish is used, adding cargo to path
if [ -x $HOME/.config/fish ] ; then if [ -x $HOME/.config/fish ] ; then
set -Up fish_user_paths ~/.cargo/bin fish -c 'set -Up fish_user_paths ~/.cargo/bin'
fi fi
# Adding dev tools # Adding dev tools
rustup component add rust-analysis rustup component add rust-analysis