Fix bugs with installing asdf and yarn
This commit is contained in:
3
install
3
install
@@ -87,6 +87,7 @@ fi
|
|||||||
|
|
||||||
if [ ! -d "$HOME/.asdf" ] ; then
|
if [ ! -d "$HOME/.asdf" ] ; then
|
||||||
git clone https://github.com/asdf-vm/asdf.git "$HOME/.asdf"
|
git clone https://github.com/asdf-vm/asdf.git "$HOME/.asdf"
|
||||||
|
. bashrc.d/asdf.bash
|
||||||
else
|
else
|
||||||
echo "Already have $HOME/.asdf"
|
echo "Already have $HOME/.asdf"
|
||||||
git -C ~/.asdf pull
|
git -C ~/.asdf pull
|
||||||
@@ -106,6 +107,8 @@ for plugin in $ADD_AND_INSTALL ; do
|
|||||||
done
|
done
|
||||||
unset ADD_AND_INSTALL
|
unset ADD_AND_INSTALL
|
||||||
|
|
||||||
|
# Enable Yarn
|
||||||
|
corepack enable
|
||||||
asdf reshim
|
asdf reshim
|
||||||
go install github.com/go-delve/delve/cmd/dlv@latest
|
go install github.com/go-delve/delve/cmd/dlv@latest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user