Skip to content

Commit

Permalink
pwsh config
Browse files Browse the repository at this point in the history
  • Loading branch information
harrhp committed Jul 5, 2024
1 parent 5896612 commit f8c0dd2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/aliae/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"type": "string"
}
}
}
}
19 changes: 17 additions & 2 deletions src/common/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "common",
"id": "common",
"version": "1.0.0",
"version": "1.1.0",
"description": "Common tools and settings",
"documentationURL": "https://github.com/harrhp/devcontainer-features/tree/HEAD/src/common",
"options": {},
Expand All @@ -10,12 +10,27 @@
"ghcr.io/harrhp/devcontainer-features/oh-my-posh:1": {},
"ghcr.io/devcontainers/features/powershell:1": {}
},
"mounts": [
{
"source": "${devcontainerId}-pwsh-history",
"target": "/home/vscode/.local/share/powershell/PSReadLine",
"type": "volume"
}
],
"postStartCommand": "sudo chown -R $USER:$USER $HOME/.local",
"customizations": {
"vscode": {
"settings": {
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.formatOnType": true
"editor.formatOnType": true,
"terminal.integrated.automationProfile.linux": {
"path": "pwsh",
"args": [
"-NoProfile",
"-NonInteractive"
]
}
},
"extensions": [
"editorconfig.editorconfig",
Expand Down

0 comments on commit f8c0dd2

Please sign in to comment.