Modified rust initialization for Linux

This commit is contained in:
Eduardo Cueto-Mendoza 2024-12-25 13:33:26 +00:00
parent 6ac9f1a4a0
commit 24cc29293b
Signed by: TastyPancakes
GPG Key ID: 941DF56C7242C3F1
1 changed files with 14 additions and 1 deletions

View File

@ -1 +1,14 @@
source "$HOME/.cargo/env.fish"
switch (uname)
case FreeBSD NetBSD DragonFly
echo Hi Beastie!
case Linux
#echo Hi Tux!
set -x RUSTUP_HOME '/usr/local/share/rustup'
case Darwin
echo Hi Hexley!
source "$HOME/.cargo/env.fish"
case '*'
echo Hi, stranger!
end