diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cdee692..b78d988 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,15 +1,16 @@ { - "image": "mcr.microsoft.com/vscode/devcontainers/python:3.12", + "image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu24.04", "features": { - "ghcr.io/devcontainers-contrib/features/starship:1": {}, - "ghcr.io/va-h/devcontainers-features/uv:1": {} + "ghcr.io/devcontainers-contrib/features/starship:1": {} }, "customizations": { "vscode": { "extensions": [ "charliermarsh.ruff", + "fill-labs.dependi", "ms-python.python", - "ms-python.vscode-pylance" + "ms-python.vscode-pylance", + "tamasfe.even-better-toml" ] } }, diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh index 6c3cf57..b45ca2b 100755 --- a/.devcontainer/postCreate.sh +++ b/.devcontainer/postCreate.sh @@ -1,5 +1,10 @@ -#!/bin/sh +#!/bin/bash echo 'eval "$(starship init bash)"' >> ~/.bashrc +echo "alias ll='ls -alF'" >> ~/.bashrc mkdir -p ~/.config -cp .devcontainer/starship.toml ~/.config \ No newline at end of file +cp .devcontainer/starship.toml ~/.config + +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.20/uv-installer.sh | sh +source $HOME/.cargo/env +echo 'eval "$(uv generate-shell-completion bash)"' >> ~/.bashrc \ No newline at end of file