我试图让ConEmu启动两个标签,每个标签都有自己的初始路径,而我完全无法这样做。那里有很多很多的ConEmu信息,但我可以这样做;不能让它工作。
我已将我对ConEmu的快捷方式改为:
"C:\Program Files\ConEmu\ConEmu64.exe" -run @C:\Users\rhewitt\Documents\conemu_startlist.txt
并且conemu_startlist.txt
文件包含以下内容(在一行上):
cmd /k color 4C -cur_console:t:"cmd":d:"C:\Users\rhewitt" ^|^|^| cmd /k color 5D -cur_console:t:"git":d:"C:\Users\rhewitt\CONFIG\repos"
每当我启动ConEmu时,我会得到一个名为" git"其中包含以下文字:
Sets the default console foreground and background colors.
COLOR [attr]
attr Specifies color attribute of console output
Color attributes are specified by TWO hex digits -- the first
corresponds to the background; the second the foreground. Each digit
can be any of the following values:
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White
If no argument is given, this command restores the color to what it was
when CMD.EXE started. This value either comes from the current console
window, the /T command line switch or from the DefaultColor registry
value.
The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute
the COLOR command with a foreground and background color that are the
same.
Example: "COLOR fc" produces light red on bright white
C:\Users\rhewitt\CONFIG\repos>
我做错了什么?
道歉,如果这是重复的 - 我看了,但我找不到任何明显的......