From c7a43c8a74484c6db49764685d87cbe82f33ffa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 21 Nov 2024 17:59:49 +0100 Subject: [PATCH] Use rustup directly instead of using a version manager --- symlinks/bashrc | 4 +--- symlinks/config/fish/conf.d/rustup.fish | 1 + symlinks/profile.common | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 symlinks/config/fish/conf.d/rustup.fish diff --git a/symlinks/bashrc b/symlinks/bashrc index 65af526..f8710e0 100644 --- a/symlinks/bashrc +++ b/symlinks/bashrc @@ -117,6 +117,4 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi - -. $HOME/.asdf/asdf.sh -. $HOME/.asdf/completions/asdf.bash +. "$HOME/.cargo/env" diff --git a/symlinks/config/fish/conf.d/rustup.fish b/symlinks/config/fish/conf.d/rustup.fish new file mode 100644 index 0000000..e4cb363 --- /dev/null +++ b/symlinks/config/fish/conf.d/rustup.fish @@ -0,0 +1 @@ +source "$HOME/.cargo/env.fish" diff --git a/symlinks/profile.common b/symlinks/profile.common index 5f61b43..69904aa 100644 --- a/symlinks/profile.common +++ b/symlinks/profile.common @@ -40,3 +40,5 @@ export ANDROID_HOME="$HOME/Android/Sdk" alias vim="nvim" alias vi="nvim" + +source "$HOME/.cargo/env"