fix rust install

This commit is contained in:
lelgenio 2022-02-28 13:55:04 -03:00
parent 9fd08600de
commit c046ec6b33
2 changed files with 3 additions and 1 deletions

View File

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

View File

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