setCurrentDirectory

Sets the active workspace to path and bumps it to the front of the recent-directories list (dedup, cap at RECENT_LIMIT).