Remove duplicate entries from the custom shell list