chore: Got it how i want it with tmux
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user