The most direct way to do this is to set the environment variable PS1in vim:
:let $PS1="subshell$ "
And run your sub-shells using the command :shellinstead :!bash.
$ let . .vimrc, .
, :shell, , , , . help shell help 'shell'.
:
:set shell=bash\
.vimbashrc PS1="subshell " - :shell !bash. .vimrc, .
, :
let $PS1="subshell " .vimrc - :shell :!bash.- rc - vim,
PS1="subshell " shell .vimrc: set shell=bash\ --rcfile\ ~/.vimbashrc.
, :!bash -, . , !, :
:PS1="subshell$ " bash .:!bash\ --rcfile\ ~/.vimbashrc PS1 .vimbashrc,
.