fixes compatible vimshell ver11

The version 11 of vimshell had broken compatibility, so an error occurs. I fixed it, so please merge code.