Install golang
This commit is contained in:
parent
e58a7361f1
commit
cfc4024e5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue