Working test for Darwin

In fish 2.1.0, at least, the existing check doesn't work - fish errors about (uname) not being a known command.

(I'm also having problems with the set -x for the ERROR_PATH - I'm not sure what happens there: the test -d triggers, but $XDG_DATA_HOME echos "")