You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$HOME is a commonly used to refer to the home directory, and I referred to it when trying to add a directory to the allow list. However, Copilot CLI doesn't seem to know how to expand it the same way it does for ~. As a result, the directory was not successfully added to the allow list despite/add-dir saying it was "added" which was misleading.
CleanShot.2025-09-30.at.12.58.mp4
Affected version
0.0.330; Commit: a8bfefe
Steps to reproduce the behavior
Run /add-dir with a path that refers to $HOME (or maybe any variable)
You should see: Added directory to allowed list: <path with variable in raw form>
Run /list-dirs
You should see: new path not listed
Expected behavior
A few possibilities here, but the gist is that I would've expected any behavior that was clear about what worked / what didn't. For example:
The new path to be added (in raw or expanded form)
A successful message was not shown when the path wasn't actually added
Support for tab-completion so that the path can be auto-expanded, increasingly the likelihood of it being added successfully
Describe the bug
$HOMEis a commonly used to refer to the home directory, and I referred to it when trying to add a directory to the allow list. However, Copilot CLI doesn't seem to know how to expand it the same way it does for~. As a result, the directory was not successfully added to the allow list despite/add-dirsaying it was "added" which was misleading.CleanShot.2025-09-30.at.12.58.mp4
Affected version
0.0.330; Commit: a8bfefe
Steps to reproduce the behavior
/add-dirwith a path that refers to$HOME(or maybe any variable)Added directory to allowed list: <path with variable in raw form>/list-dirsExpected behavior
A few possibilities here, but the gist is that I would've expected any behavior that was clear about what worked / what didn't. For example:
Additional context