I would like to specify the startup command to run on the :terminal shell. E.g. bash -c ls. The shell can be specified with set shell=bash, but how to specify the arguments? In another use case, I need to specify the shell used by WSL on Windows (wsl -e fish) with set shell=wsl (which currently opens bash by default).
Asked
Active
Viewed 324 times
2
tejasvi88
- 470
- 2
- 10
:help :terminalcontains lots of helpful details. You might also be interested in How to navigate:help– D. Ben Knoble Jan 17 '21 at 17:09$VIM_TERMINALat the end of.bashrcand run the commands there – balki Oct 26 '23 at 15:56