fix rust install
This commit is contained in:
parent
9fd08600de
commit
c046ec6b33
|
@ -16,7 +16,8 @@ set -x XDG_DATA_DIRS "$XDG_DATA_DIRS:$HOME/.local/share"
|
|||
|
||||
set -x XDG_CONFIG_HOME "$HOME/.config/"
|
||||
|
||||
for i in ~/.local/bin ~/.yarn/bin ~/.factorio/bin/*
|
||||
set __cargo_asdf_bin ~/.asdf/installs/rust/*/bin/
|
||||
for i in ~/.local/bin $__cargo_asdf_bin ~/.yarn/bin ~/.factorio/bin/*
|
||||
test -d "$i";and fish_add_path "$i"
|
||||
end
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ if not test -d ~/.asdf
|
|||
asdf install nodejs latest &> /dev/null
|
||||
asdf global nodejs latest &> /dev/null
|
||||
|
||||
asdf plugin add rust &> /dev/null
|
||||
asdf install rust nightly &> /dev/null
|
||||
asdf global rust nightly &> /dev/null
|
||||
end
|
||||
|
|
Reference in New Issue