update nvim version, fix update-alternatives for gofmt
This commit is contained in:
parent
45ddefb2f6
commit
1c50bbd263
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
GO_VERSION=1.23
|
||||
NVIM_VERSION=0.10.2
|
||||
NVIM_VERSION=0.10.3
|
||||
NERDFONTS_VERSION=3.3.0
|
||||
SOPS_VERSION=3.9.2
|
||||
|
||||
|
@ -11,6 +11,7 @@ sudo apt install \
|
|||
curl \
|
||||
fd-find \
|
||||
fontconfig \
|
||||
fzf \
|
||||
golang-${GO_VERSION} \
|
||||
gpg \
|
||||
htop \
|
||||
|
@ -29,7 +30,7 @@ sudo apt install \
|
|||
|
||||
# install golang to path
|
||||
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
|
||||
FONT_DIR=${HOME}/.local/share/fonts/
|
||||
|
|
Loading…
Reference in a new issue