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.
认证0级讲师
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
The syntax of fish and bash are different, so you can't let vim use fish as an external interpreter
Here is the solution