Execute only one matching command in palette shortcuts