Skip to content

Commit 62c0163

Browse files
committed
fix working dirs
1 parent 2a6bec9 commit 62c0163

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"privileged": true,
77
"overrideCommand": false,
88
"updateRemoteUserUID": true,
9-
"workspaceFolder": "/home/vscode",
109
"shutdownAction": "stopContainer",
1110
"securityOpt": ["seccomp=unconfined"],
1211
"runArgs": ["--network=host"],
1312
"mounts": ["source=dind-var-lib-docker,target=/var/lib/docker,type=volume"],
1413
"features": {"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}},
15-
"postCreateCommand": "sudo chown $USER /workspaces/* 2>/dev/null || true; ln -s /workspaces/konductor /home/vscode/konductor || true; direnv allow 2>/dev/null || true",
14+
"postCreateCommand": "devcontainer-links",
1615
//"workspaceMount": "source=.,target=/home/vscode/konductor,type=bind,consistency=cached",
16+
//"workspaceFolder": "/home/vscode/konductor",
1717
"forwardPorts": [1313, 2222, 6000, 7681, 8080],
1818
"customizations": {
1919
"vscode": {
@@ -90,9 +90,9 @@
9090
"lineNumbers": "relative",
9191
"formatOnSave": true,
9292
"insertSpaces": true,
93-
"tabFocusMode": true,
9493
"tabScrolling": "auto",
95-
"tabMovesFocus": false,
94+
//"tabFocusMode": false,
95+
//"tabMovesFocus": false,
9696
"tabCompletion": "on",
9797
"tabDecoration": true,
9898
"fontLigatures": true,
@@ -116,7 +116,7 @@
116116
"inlineSuggest.enabled": true,
117117
"parameterHints.enabled": true,
118118
"trimTrailingWhitespace": true,
119-
"lineHighlightBackground": "30BFBF",
119+
"lineHighlightBackground": "#30BFBF",
120120
"highlightActiveIndentGuide": true,
121121
"fontFamily": "'FiraMono Nerd Font Mono', monospace",
122122
"gotoLocation": {
@@ -176,9 +176,9 @@
176176
},
177177
"terminal": {
178178
"integrated": {
179+
//"cwd": "/home/vscode/Konductor",
179180
"fontSize": 14,
180181
"scrollback": 10000,
181-
"cwd": "/home/vscode",
182182
"cursorStyle": "outline",
183183
"hideOnStartup": false,
184184
"cursorBlinking": true,
@@ -199,9 +199,10 @@
199199
"vs-kubernetes.namespace": "*",
200200
"vs-kubernetes.outputFormat": "yaml",
201201
"vs-kubernetes.helm-path": "/usr/local/bin/helm",
202-
"vs-kubernetes.kubeconfig": "/home/vscode/*/.kube/config",
202+
"vs-kubernetes.kubeconfig": "/home/vscode/.kube/config",
203203
"vs-kubernetes.kubectl-path": "/usr/local/bin/kubectl",
204204
"vs-kubernetes.knownKubeconfigs": [
205+
"/workspaces/*/.kube/config",
205206
"/home/vscode/*/.kube/config",
206207
"/home/vscode/.kube/config"
207208
]

0 commit comments

Comments
 (0)