Closed daxgames closed 4 months ago
This is a first stab at making a Windows Terminal integrated Cmder distribution.
It builds both Conemu and Windows Terminal Cmder archives.
I am 100% positive the launcher code could be better, but I am not a C++ developer. It works and that is an accomplishment in itself.
I have been using Cmder in Windows Terminal exclusively for about a month and I just decided it was time to start this.
It was actually easier than I thought it would be.
I identified an error with Windows terminal support and profiles set to run as Administrator. The %CMDER_ROOT%
env var is not set and we have no way of figuring out what the root path for Cmder is on Administrative profiles.
I have requested a feature in Windows Terminal https://github.com/microsoft/terminal/issues/16295 that has the potential to resolve this the same way ConEmu does. Our init scripts could then look for %WT_FOLDER_PATH%
the same way we do for %ConEmuDir%
I identified an error with Windows terminal support and profiles set to run as Administrator. The
%CMDER_ROOT%
env var is not set and we have no way of figuring out what the root path for Cmder is on Administrative profiles.I have requested a feature in Windows Terminal microsoft/terminal#16295 that has the potential to resolve this the same way ConEmu does. Our init scripts could then look for
%WT_FOLDER_PATH%
the same way we do for%ConEmuDir%
Looks like it's slated for the WT 1.20 release, are you happy to wait or shall we try and find another solution?
We can wait
For those that want admin profiles before then you can set CMDER_ROOT
globally via Windows env vars to fix the issue.
@daxgames I've merged this and the speed optimization PRs into development branch for testing purposes. So sorry it's taking this long to review, I'm still unimaginably busy with some projects and IRL issues, but I'm super eager to test these great additions and apply them in master soon. Hoping for a speedy Cmder 1.4 release!
@DRSDavidSoft We can't really release 1.4 until https://github.com/microsoft/terminal/issues/16295 gets released.
@daxgames Why is the PR closed
Windows Terminal Support
First looks at Windows Terminal Integration
NEED TO FIX
NEED TO ADD:
Progress So Far:
Cmder.exe
Launcher:%cmder_root%\vendor\windows-terminal\WindowsTerminal.exe
instead of ConEmu if%cmder_root%\vendor\windows-terminal
exists./title
, and/single
.--
argument directly toWindowsTerminal.exe
to use the full power of Windows Terminal from the command line.Scripts:
Config:
%cmder_root%\vendor\sources.json