As shown below, there was nothing wrong with the bash terminal before. However, this problem occurred after switching to fish, although it does not affect the use.
PHP中文网2017-05-16 16:41:02
The syntax of fish and bash are different, so you can't let vim use fish as an external interpreter
Here is the solution
if &shell =~ '/bin/fish'
set shell=/bin/bash
endif