terminal shell: zsh
使用multi-term
打开terminal
测试json文件:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "dev-material",
"problemMatcher": []
},
{
"label": "rsync",
"type": "shell",
"command":
"rsync -azcuv --relative --delete-after --exclude '.history' --exclude '.sync' --exclude '.git' --exclude 'node_modules' . remote:/test/path/"
}
]
}
执行cat test.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "dev-material",
"problemMatcher": []
},
{
"label": "rsync",
"type": "shell",
"command":
"rsync -azcuv --relative --delete-after --exclude '.history' --exclude '.sync' --exclude '.git' --exclude 'node_modules' . remote
%
remote之后的被遗弃掉了