navi (nprofile…aasw) Oh wow this is wild, I would have assumed shells would check if it's a script or not before grabbing something from the PATH like that.
Also here's the open-paren for yours, lol
$ . env
mksh: /usr/bin/env[1]: syntax error: unexpected '('