Assigning a single character in shortcuts (without using ctrl, alt keys) causes the problem you mentioned. Instead, you can use it from the command line by adding a line in the form of shred, p to the idecadalias.txt file. The default command line alias for shred object is "x" and "pr".