add a function to remove a specific shortcut by pattern