add additional checks when determining shell

Check for vimproc and use case-sensitive compare for the shell name.