Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsaini04 committed Nov 5, 2024
1 parent 129f6bf commit c7c5aa8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/common-utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,17 @@
"description": "Preserve shell history across dev container instances? (Currently supports bash, zsh, and fish)"
}
},
"postCreateCommand": "export DEVCONTAINER_ID=${devcontainerId} && chmod +x /tmp/setup_history.sh && . /tmp/setup_history.sh",
"postCreateCommand": "ls -la ${containerWorkspaceFolder}/.devcontainer/common-utils && ls -la ${containerWorkspaceFolder}/.devcontainer/common-utils/scripts && export DEVCONTAINER_ID=${devcontainerId} && chmod +x /tmp/setup_history.sh && . /tmp/setup_history.sh",
"mounts": [{
"source": "devcontainers",
"target": "/devcontainers",
"type": "volume"
},
{
"source": "${containerWorkspaceFolder}/.devcontainer/common-utils/scripts/setup_history.sh",
"target": "/tmp/setup_history.sh",
"type": "bind"
}]
}
// ,
// {
// "source": "${containerWorkspaceFolder}/.devcontainer/common-utils/scripts/setup_history.sh",
// "target": "/tmp/setup_history.sh",
// "type": "bind"
// }
]
}

0 comments on commit c7c5aa8

Please sign in to comment.