Change rust installation to package
This commit is contained in:
parent
08c2eff910
commit
18ee5b7ae8
3 changed files with 4 additions and 9 deletions
10
configs.yml
10
configs.yml
|
@ -321,14 +321,10 @@ markdown viewer:
|
||||||
- update-mime-database ~/.local/share/mime
|
- update-mime-database ~/.local/share/mime
|
||||||
|
|
||||||
rust:
|
rust:
|
||||||
|
- install:
|
||||||
|
- rustup
|
||||||
- run:
|
- run:
|
||||||
- rustc --version || curl https://sh.rustup.rs -sSf | sh
|
- rustup default stable
|
||||||
- run:
|
|
||||||
command: rustup update
|
|
||||||
condition: update
|
|
||||||
- run:
|
|
||||||
command: rustup self update
|
|
||||||
condition: update
|
|
||||||
|
|
||||||
vim:
|
vim:
|
||||||
- install:
|
- install:
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
export PATH="$PATH:$HOME/.cargo/bin"
|
|
||||||
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# PATH
|
# PATH
|
||||||
typeset -U PATH path
|
typeset -U PATH path
|
||||||
path=("$HOME/.local/bin" "$path[@]" "$HOME/.cargo/bin")
|
path=("$HOME/.local/bin" "$path[@]")
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
# Colored less output
|
# Colored less output
|
||||||
|
|
Loading…
Add table
Reference in a new issue