improved sudo prepend command and make it compatible with urxvt