DEV Community

Discussion on: Adding MSL Shell to Windows Terminal

Collapse
 
morensya93 profile image
Faisal Morensya

Hi Ganessh, nice stuff man.

I have set up my windows using cygwin and zsh. Now how do i added this to my windows terminal?
this is my setup now, but new zsh is not added to the Windows Terminal

"profiles": {
        "defaults": {
            // Put settings here that you want to apply to all profiles.
        },
        "list": [{
                // other cli here
            ...,              
            {
                "guid": "{d0299d37-cdfb-4222-917b-df79328d786b}",
                "hidden": false,
                "name": "zsh",
                "source": " C://cygwin64/bin/zsh -l -i"
            }
        ]
    },
Collapse
 
ganesshkumar profile image
Ganessh Kumar

Could the double slash after C: might be the cause? Have you tried with C:/cygwin64/bin/zsh -l -i?

Collapse
 
morensya93 profile image
Faisal Morensya • Edited

It did not work.
The thing is the new terminal menu under new tab not showing.
Im using your json config also not working.

Your Profiles object also different from mine.

Thread Thread
 
ganesshkumar profile image
Ganessh Kumar

github.com/microsoft/terminal/blob...

Both the formats are valid according to their documentation.

Thread Thread
 
morensya93 profile image
Faisal Morensya

Hi Ganessh,
Its been a while, below json configuration worked for me, thanks for the post, keep it up man!

{
    "closeOnExit" : true,
    "colorScheme" : "Campbell",
    "commandline" : "C:/cygwin64/bin/zsh -l -i",
    "cursorColor" : "#085336",
    "cursorShape" : "vintage",
    "fontSize" : 9,
    "guid": "{d0299d37-cdfb-4222-917b-df79328d786b}",
    "historySize" : 9001,
    "icon" : "C:/cygwin64/Cygwin-Terminal.ico",
    "name" : "Cygwin",
    "snapOnInput" : true,
    "useAcrylic" : true
}