Making a favorite directory only makes the parent directory the favorite

You can either replace the existing command, or add a new one. Details are near the top of here: