How can one use /etc/paths.d to add a path with spaces in it to $PATH?
So I'll try and give this one the ol college attempt.  So after messing around with this for about an hour I came to the conclusion that path_helper - the native app that constructs a PATH environment variable from /etc/paths and /etc/paths.d doesn't play well with paths that have spaces in them, ie. thus why you're experiencing your current situation.

So my hacky solution to get this working, is to create a symlink from,


/Applications/VMware Fusion.app


to


/Applications/VMwareFusion.app


using the below command,


ln -sf /Applications/Vmware Fusion.app /Applications/VmwareFusion.app


Then edit /etc/paths.d/com.vmware.fusion.public and change the one line in that file to look like the below,


/Applications/VMwareFusion.app/Contents/Public/


Then obviously start a new shell session or reinit.

This solution works great for me using the fish shell.