The paste window populates the filetype based on vim.o.shell. But, the SHELL environment variable does not always reflect the correct shell. For example, if I am in bash and enter a fish shell, then vim.o.shell and $SHELL are still set to bash.
See #253 (comment)
Figure out a more appropriate way to detect the shell for the paste window filetype.