我正在使用与/usr/local/bin/fish
的VSCODE集成终端。
"terminal.integrated.shell.osx": "/usr/local/bin/fish",
在VSCODE的集成终端中,pwd
命令总是返回"/",无论我打开的目录是什么。
pwd
# => /
echo $PWD
# => /
如何使用打开的目录的路径更改PWD?
这是鱼3.0.1的错误:https://github.com/fish-shell/fish-shell/fish-shell/issues/5647。
解决方案是升级到鱼3.0.2。