ConEmu - 在启动控制台中运行脚本

Koz*_*oss 6 shell-script conemu

我有一个脚本todo,可以将待办事项列表回显到终端。我希望 ConEmu 每次启动时都运行它(因此,在起始选项卡中)。我如何编写一个任务来让它做到这一点?todo在我的路上。

Max*_*mus 9

事实上,您的问题根本不涉及 ConEmu。阅读您的 shell 手册(您还没有说过您正在使用的十几种可能的 shell)。例如,cmd 有“/k”开关,PowerShell 有“-noexit -command”等等......

可能相关:https : //stackoverflow.com/a/13374719/1405560