symlinks weren't being resolved when doing partial path matches on CWD command