From 18ee5b7ae88c9117402a9c8cbc69eb1d2dabf309 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@pinebookpro" Date: Mon, 26 Jul 2021 16:27:55 +0200 Subject: [PATCH] Change rust installation to package --- configs.yml | 10 +++------- dotfiles/bash/bash_profile | 1 - dotfiles/zsh/zshenv | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/configs.yml b/configs.yml index b8c70cd..e58c2a3 100644 --- a/configs.yml +++ b/configs.yml @@ -321,14 +321,10 @@ markdown viewer: - update-mime-database ~/.local/share/mime rust: + - install: + - rustup - run: - - rustc --version || curl https://sh.rustup.rs -sSf | sh - - run: - command: rustup update - condition: update - - run: - command: rustup self update - condition: update + - rustup default stable vim: - install: diff --git a/dotfiles/bash/bash_profile b/dotfiles/bash/bash_profile index 6af3c84..e33cc97 100644 --- a/dotfiles/bash/bash_profile +++ b/dotfiles/bash/bash_profile @@ -2,7 +2,6 @@ # export PATH="$HOME/.local/bin:$PATH" -export PATH="$PATH:$HOME/.cargo/bin" [[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/dotfiles/zsh/zshenv b/dotfiles/zsh/zshenv index f3eedeb..9c69552 100644 --- a/dotfiles/zsh/zshenv +++ b/dotfiles/zsh/zshenv @@ -3,7 +3,7 @@ # PATH typeset -U PATH path -path=("$HOME/.local/bin" "$path[@]" "$HOME/.cargo/bin") +path=("$HOME/.local/bin" "$path[@]") export PATH # Colored less output