Add a function to remove a specific shortcut by pattern