How to limit HIDEUNSEL to a particular type (files or dirs)?

try this command