update nvim version, fix update-alternatives for gofmt

This commit is contained in:
Amarpreet Minhas 2024-12-21 16:39:14 -05:00
parent 45ddefb2f6
commit 1c50bbd263

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
GO_VERSION=1.23 GO_VERSION=1.23
NVIM_VERSION=0.10.2 NVIM_VERSION=0.10.3
NERDFONTS_VERSION=3.3.0 NERDFONTS_VERSION=3.3.0
SOPS_VERSION=3.9.2 SOPS_VERSION=3.9.2
@ -11,6 +11,7 @@ sudo apt install \
curl \ curl \
fd-find \ fd-find \
fontconfig \ fontconfig \
fzf \
golang-${GO_VERSION} \ golang-${GO_VERSION} \
gpg \ gpg \
htop \ htop \
@ -29,7 +30,7 @@ sudo apt install \
# install golang to path # install golang to path
sudo update-alternatives --install /usr/bin/go go /usr/lib/go-${GO_VERSION}/bin/go 100 \ sudo update-alternatives --install /usr/bin/go go /usr/lib/go-${GO_VERSION}/bin/go 100 \
--slave /usr/bin/gofmt gofmt /usr/lib/go-${GO_VERSION}/bin/gofmt 100 --slave /usr/bin/gofmt gofmt /usr/lib/go-${GO_VERSION}/bin/gofmt
# set up nerd fonts # set up nerd fonts
FONT_DIR=${HOME}/.local/share/fonts/ FONT_DIR=${HOME}/.local/share/fonts/