Indeed, the following should work with upcoming fish 3.4:
echo "pwd: $(pwd)"
See https://github.com/fish-shell/fish-shell/pull/8059 echo "pwd: $(pwd)"
See https://github.com/fish-shell/fish-shell/pull/8059