Update p alias with valid directories.