Wouldn't it be better if `toAbsGlob('../a')` could return `'/dev/a'` instead of `'/dev/foo/../a'`? Same thing for tilde: `toAbsGlob('~/a')` should return `'/path/to/my/home/a'` instead of `'/dev/foo/~/a'`