-
Notifications
You must be signed in to change notification settings - Fork 15
/
install.sh
executable file
·37 lines (31 loc) · 936 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env bash
BASE_DIR=$(dirname "${BASH_SOURCE[0]:-$0}")
cd "${BASE_DIR}/.." || exit 127
# shellcheck source=../scripts/execs.sh
. scripts/execs.sh
function install_extensions() {
declare -a extensions=(
GitHub.github-vscode-theme
# JakeBecker.elixir-ls
lexical-lsp.lexical
MS-vsliveshare.vsliveshare
ms-vscode.makefile-tools
PKief.material-icon-theme
SimonSiefke.svg-preview
bradlc.vscode-tailwindcss
eamodio.gitlens
streetsidesoftware.code-spell-checker
haskell.haskell
justusadam.language-haskell
miguelsolorio.fluent-icons
# pantajoe.vscode-elixir-credo
victorbjorklund.phoenix
vscodevim.vim
)
for extension in "${extensions[@]}"; do
code --install-extension $extension
done
}
execute install_extensions "Installing VS Code extensions..."
mkdir -p ~/.config/Code/User
symlink ~/.dotfiles/vscode/settings.json ~/.config/Code/User/settings.json