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
I'd like $CWD to be set to the particular folder that the open file is in if available, but if it's not available I'd prefer to try to fall back to the project root first before falling all the way back to the home directory.
I'd like $CWD to be set to the particular folder that the open file is in if available, but if it's not available I'd prefer to try to fall back to the project root first before falling all the way back to the home directory.
Relevant tests:
vscode-edit-with-shell/src/test/lib/shell-command-exec-context.test.ts
Lines 14 to 34 in a119c9f
Quick screengrab I recorded demonstrating current behavior:
Screen.Recording.2021-09-09.at.1.22.58.PM.mov
Current result of ^ looks like:
I'd prefer that it look like: