Steps to Reproduce:
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fishI'm not sure how reproducible this error is because it seems like a rather narrow use-case. On load, the terminal's working directory defaults to /, however, ls lists the default cwd for VSCode, which is ~/Sites. I am though, unable to navigate within my ~/Sites because the pwd is indeed /.

Does this issue occur when all extensions are disabled?: Yes
I tried clean uninstalling vscode and reinstalling but that did not fix the problem.
Does this issue occur if you remove/uninstall your prompt and use something else or the fish shell default prompt?
Happening to me as well. The combo of fish + omf + vscode seems to not be working. Only broken with the vscode terminal though, works fine in Terminal and Hyper.
No issue if I revert to bash. However, after I encountered the issue, even removing fisher and just using fish shell alone did not fix the problem.
I'm seeing the same issue but this occurred when I updated fish from 3.0.0 to 3.0.1. I was already using fisher 3. Now every time I open the terminal the cwd is /.
Workaround that I'm using for now:
{
"terminal.integrated.shell.linux": "/bin/bash",
"terminal.integrated.shellArgs.linux": ["-c", "exec fish"]
}
fish 3.0.2 with the fix is released (https://github.com/fish-shell/fish-shell/issues/5671) and available in Homebrew. It works for me.
I can also verify 3.0.2 resolves the problem. I will close this issue now.
Most helpful comment
This is https://github.com/fish-shell/fish-shell/issues/5647.