1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-03-25 18:48:52 +01:00
parent 92f097cb82
commit 64596a073c
No known key found for this signature in database
13 changed files with 192 additions and 404 deletions

29
packages/codeinit/codeinit.bash Executable file
View file

@ -0,0 +1,29 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
extensions=(
anishde12020.orbi
jnoortheen.nix-ide
llvm-vs-code-extensions.vscode-clangd
mkhl.direnv
phpactor.vscode-phpactor
rust-lang.rust-analyzer
tamasfe.even-better-toml
vscodevim.vim
xdebug.php-debug
"$@"
)
if ! hash codium; then
exit 1
fi
args=()
for ext in "${extensions[@]}"; do
args+=(--install-extension "$ext")
done
codium "${args[@]}"

View file

@ -0,0 +1,6 @@
{writeShellApplication}:
writeShellApplication {
name = "codeinit";
text = builtins.readFile ./codeinit.bash;
}