更新 devcontainer.json,添加 tmux 和 GitHub CLI 功能支持;更新 .gitignore,添加 config.toml 忽略规则

pull/24/head
春河晴 2025-05-09 03:50:25 +09:00
parent bc11ee5ec7
commit a94beb4355
No known key found for this signature in database
2 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,14 @@
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"features": {
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": [
"tmux"
]
},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
@ -21,7 +28,7 @@
"jetbrains" : {
"backend" : "PyCharm"
}
},
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"

2
.gitignore vendored
View File

@ -268,3 +268,5 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
config.toml