Install golang

This commit is contained in:
Thomas Avé 2023-09-03 15:01:20 +02:00
parent e58a7361f1
commit cfc4024e5a
1 changed files with 2 additions and 2 deletions

View File

@ -39,14 +39,14 @@ fi
if $NVIM; then
dependencies="neovim git unzip fzf cmake gcc make curl wget"
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
$SUDO pacman -Sy --needed --noconfirm $dependencies npm
$SUDO pacman -Sy --needed --noconfirm $dependencies npm go
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
$SUDO apt update
$SUDO apt install -y software-properties-common
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
$SUDO curl -sL https://deb.nodesource.com/setup_20.x | $SUDO bash -
$SUDO apt update
$SUDO apt install -y $dependencies python3-venv nodejs
$SUDO apt install -y $dependencies python3-venv nodejs golang
fi
ln -s $PWD/nvim $XDG_CONFIG_HOME/nvim