1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 15:53:39 +08:00
ohmyzsh/.devcontainer/devcontainer.json
Marc Cornellà c690f73161
feat: add devcontainers configuration (#12783)
Co-authored-by: Vatsal Gupta <40350810+gvatsal60@users.noreply.github.com>
2024-10-27 20:46:46 +01:00

21 lines
542 B
JSON

{
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"ghcr.io/devcontainers/features/common-utils": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"username": "vscode",
"userUid": 1000,
"userGid": 1000
}
},
"postCreateCommand": "dir=/workspaces/ohmyzsh; rm -rf $HOME/.oh-my-zsh && ln -s $dir $HOME/.oh-my-zsh && cp $dir/templates/minimal.zshrc $HOME/.zshrc && chgrp -R 1000 $dir && chmod g-w,o-w $dir",
"customizations": {
"codespaces": {
"openFiles": [
"README.md"
]
}
}
}