felixse / FluentTerminal

A Terminal Emulator based on UWP and web technologies.
GNU General Public License v3.0
9.21k stars 443 forks source link

Adding mingw/msys2/cygwin #914

Closed Netris89 closed 3 years ago

Netris89 commented 3 years ago

Hi,

I've been trying to add cygwin, mingw and msys2 as profiles to Fluent Terminal, but for now, to no avail. For cygwin, I think it's because the executable is a .bat (can you confirm that ?). But for mingw/msys, even though I link the path of the executable in the settings, it either doesn't open at all (msys2) or opens in a different (as is not a Fluent Terminal) window. Does FT not support them ?

Thanks in advance for you answer.

EdVanDance commented 3 years ago

HI @Netris89,

I managed to setup msys2 yesterday.

Initially I tried using the msys2_shell.cmd. Didn't work, kind of obvious after looking into it.

So I replicated what msys_shell.cmd is doing in a Fluent Terminal Profile.

My target was: ming64 with zsh.

This is what works for me: image

Replacing zsh with bash should just work.

Netris89 commented 3 years ago

It worked, thank you.

Netris89 commented 3 years ago

So this method works for Cygwin as well, thanks a lot @EdVanDance !