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 + +