summaryrefslogtreecommitdiff
path: root/install-imperative
blob: b5699f5f210a4cdaa48662444abc3ec6b59b5a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash
# This script installs software which I rather not manage via Nix.
# E.g. typos and pyright are updated so frequently that nixpkgs is bound to be outdated.
# While I could declaratively install them via their version and hash I don't care enough
# (I just want the latest).

rustup toolchain install stable

cargo install typos-cli

npm install -g pyright

# Mostly installing VSCodium extensions here since the pyright extension cannot
# use the globally installed pyright (https://github.com/microsoft/pyright/issues/2035).
code-ext() {
    codium --install-extension "$1"
}

code-ext vscodevim.vim
code-ext rust-lang.rust-analyzer
code-ext ms-pyright.pyright
code-ext aaron-bond.better-comments
code-ext bbenoist.nix