fix usage of subs in tilde-expand-path
simplify is-apple-garbage? a bit