dotfiles/home/.chezmoiscripts/run_once_after_20_install_vim_dep.sh

15 lines
394 B
Bash
Raw Normal View History

2023-02-26 15:48:36 +00:00
#!/bin/bash
PATH="$HOME/apps/go/bin:$HOME/apps/node/bin:$PATH"
if command -v npm > /dev/null; then
npm i -g typescript typescript-language-server jsctags dockerfile-language-server-nodejs
fi
if command -v go > /dev/null; then
go install github.com/sourcegraph/go-langserver@latest
go install github.com/jstemmer/gotags@latest
go install github.com/cweill/gotests/gotests@latest
fi