chore: Got it how i want it with tmux
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Rust",
|
"name": "Rust",
|
||||||
"runArgs": [
|
"runArgs": [
|
||||||
"--name=Rust",
|
|
||||||
"--network=host"
|
"--network=host"
|
||||||
],
|
],
|
||||||
"image": "git.luke-else.co.uk/luke-else/rust-dev:latest",
|
"image": "git.luke-else.co.uk/luke-else/rust-dev:latest",
|
||||||
@@ -14,7 +13,19 @@
|
|||||||
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.runBuildScripts": true,
|
"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": [
|
"extensions": [
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-azuretools.vscode-docker",
|
||||||
@@ -27,6 +38,5 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postCreateCommand": "tmux new-session -d -s dev 'cargo fetch && zsh'",
|
"postCreateCommand": "cargo fetch"
|
||||||
"postStartCommand": "tmux attach-session -t dev"
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user