chore: Got it how i want it with tmux

This commit is contained in:
2026-03-31 21:12:39 +01:00
parent 6ee79587a5
commit 4fdab0225f

View File

@@ -1,7 +1,6 @@
{
"name": "Rust",
"runArgs": [
"--name=Rust",
"--network=host"
],
"image": "git.luke-else.co.uk/luke-else/rust-dev:latest",
@@ -14,7 +13,19 @@
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"rust-analyzer.cargo.runBuildScripts": true,
"remote.autoForwardPorts": false
"remote.autoForwardPorts": false,
"terminal.integrated.profiles.linux": {
"tmux-shell": {
"path": "tmux",
"args": [
"new-session",
"-A",
"-s",
"dev"
]
}
},
"terminal.integrated.defaultProfile.linux": "tmux-shell"
},
"extensions": [
"ms-azuretools.vscode-docker",
@@ -27,6 +38,5 @@
]
}
},
"postCreateCommand": "tmux new-session -d -s dev 'cargo fetch && zsh'",
"postStartCommand": "tmux attach-session -t dev"
"postCreateCommand": "cargo fetch"
}