diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-02 20:25:06 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-11 08:37:52 +0100 |
commit | 9d1363f2fa33bf590148ece64457272502a310dc (patch) | |
tree | 701d39bc812904731f2594905ea585b78ffd4f35 /install-imperative | |
parent | f5af22a8d108c9008b1a2b6c99e65ff910518288 (diff) |
add developer tools
Diffstat (limited to 'install-imperative')
-rwxr-xr-x | install-imperative | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/install-imperative b/install-imperative new file mode 100755 index 0000000..b5699f5 --- /dev/null +++ b/install-imperative @@ -0,0 +1,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 |