ref: d6bd40e37b085aec922c6bb56e867e85a6c36982
dir: /lib/fileutil/homedir.myr/
use std pkg fileutil = const homedir : (-> byte[:]) ;; const homedir = { match std.getenv("HOME") | `std.Some h: -> h | `std.None: /* nothing */ ;; /* 9front uses $home */ match std.getenv("home") | `std.Some h: -> h | `std.None: /* nothing */ ;; /* really, we should read from /etc/passwd or ldap/nss */ -> "" }