Describe the Bug
I use devcontainer with repo settings in devcontainer.json. For personal customization I use dotfiles. I was able to set this up on cursor but it broke with the recent upgrade. The suggested workflow from a cursor agent was to create a ~/.cursor/settings.json file with the following entries:
{
"dotfiles.repository": "https://github.com/user_name/dotfiles.git",
"dotfiles.targetPath": "~/dotfiles",
"dotfiles.installCommand": "install.sh"
}
This would install my personal tools and make them available inside the container. This broke when upgrading to 1.1.5. I believe it worked on all previous versions. There is also no way in the vscode settings to configure dotfiles. The microsoft devcontainer extension allows configuration of the dotfiles settings.
Steps to Reproduce
Create a repo with an install.sh
that just creates an empty file in the users home directory. My repo is part of a private organization and requires a github token to access and I do not know if this is required to test.
Create a ~/.cursor/settings.json with the following settings (point to the git repo created above)
{
"dotfiles.repository": "https://github.com/user_name/dotfiles.git",
"dotfiles.targetPath": "~/dotfiles",
"dotfiles.installCommand": "install.sh"
}
Open the dev container. On versions of cursor <1.1.5 it successfully ran the install.sh and created the associated files in ~/dotfiles directory in the container. On version 1.1.5 it does not. This might also be affected by the devcontainer extension version which is currently 1.0.8 on my system.
Expected Behavior
The configured dotfiles repo is cloned and install script (e.g. install.sh) is run in the configured directory (e.g. ~/dotfiles).
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.5 (Universal)
VSCode Version: 1.96.2
Commit: ef5eeb47a684b4c217dfaf0463aa7ea952f8ab90
Date: 2025-06-21T05:26:18.966Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Additional Information
Dev container extension version: 1.0.8
Does this stop you from using Cursor
No - Cursor works, but with this issue