If I run one of the commands that uses the current working directory, then the terminal used for fzf is changed to that directory, but runFzfFile and runFzfAddWorkspaceFolder run in the same terminal and don't reset the directory to the current workspace, meaning that runFzfFilePwd causes runFzfFile to have the same behaviour if it's run afterwards.
Wrapping the command in a subshell, such as (cd whatever/cwd/is; cmd) will ensure that the cwd is reset after each command, which is probably cleanest.
If I run one of the commands that uses the current working directory, then the terminal used for fzf is changed to that directory, but
runFzfFile
andrunFzfAddWorkspaceFolder
run in the same terminal and don't reset the directory to the current workspace, meaning that runFzfFilePwd causes runFzfFile to have the same behaviour if it's run afterwards.Wrapping the command in a subshell, such as
(cd whatever/cwd/is; cmd)
will ensure that the cwd is reset after each command, which is probably cleanest.