简体   繁体   中英

Execute script when opening new terminal IntelliJ Idea

In my idea terminal (based on windows) I use an alias doskey ll=dir each time I open a new terminal (so if i prompt ll make a dir ).

There is a way to execute by default a command (a script will be better) when opening a new terminal?

There is a feature request, feel free to vote:

  • IDEA-159562 Configure starting script / prelude for embedded terminal

At the moment you can try creating a batch file that will start the terminal and pass it the script to execute, then specify this batch file as your Shell path in Tools | Terminal .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM