same issue with #6730 version 3.1.2 OS: Ubuntu-20.04 WSL2 sh -c 'env HOME=$(mktemp -d) fish' works