From 24cc29293b734ad84422b0727729964fb419cc45 Mon Sep 17 00:00:00 2001 From: Eduardo Cueto-Mendoza Date: Wed, 25 Dec 2024 13:33:26 +0000 Subject: [PATCH] Modified rust initialization for Linux --- .config/fish/conf.d/rustup.fish | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.config/fish/conf.d/rustup.fish b/.config/fish/conf.d/rustup.fish index e4cb363..04c4063 100644 --- a/.config/fish/conf.d/rustup.fish +++ b/.config/fish/conf.d/rustup.fish @@ -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 + +