run any shell script from Fish and import all exported env variables?

Solution 1:

Linux has the /proc/<pid>/environ file which contains null-separated environment variables which you could read and import into your fish session.