Skip to content

Commit 5945572

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents d16641a + fe14a66 commit 5945572

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

scripts/ubuntu.sh

+10-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ if ! _has nvim; then
3131
wget https://github.com/neovim/neovim/releases/download/stable/nvim.appimage
3232
chmod +x nvim.appimage
3333
./nvim.appimage --appimage-extract
34-
sudo mv squashfs-root /
35-
sudo ln -s /squashfs-root/AppRun /usr/bin/nvim
34+
sudo mv squashfs-root /usr/local/bin/nvim-squashfs-root
35+
sudo ln -s /usr/local/bin/nvim-squashfs-root/AppRun /usr/local/bin/nvim
3636
rm nvim.appimage
3737
fi
3838

@@ -57,3 +57,11 @@ if ! _has lazygit; then
5757
install lazygit "$HOME"/.local/bin
5858
rm -r lazygit lazygit.tar.gz
5959
fi
60+
61+
if ! _has cargo; then
62+
curl https://sh.rustup.rs -sSf | sh -s -- -y
63+
fi
64+
65+
if ! _has nvm; then
66+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
67+
fi

0 commit comments

Comments
 (0)