Change rust installation to package

This commit is contained in:
flyingscorpio@pinebookpro 2021-07-26 16:27:55 +02:00
parent 08c2eff910
commit 18ee5b7ae8
3 changed files with 4 additions and 9 deletions

View file

@ -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:

View file

@ -2,7 +2,6 @@
#
export PATH="$HOME/.local/bin:$PATH"
export PATH="$PATH:$HOME/.cargo/bin"
[[ -f ~/.bashrc ]] && . ~/.bashrc

View file

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