Using CygWin in ConEmu

This is a simple question that might show my lack of understanding of ConEmu console ...

I recently installed ConEmu and CygWin to get a great CLI setup to mimic OS X and Ubuntu settings.

I want to be able to ls

and use linux style commands in ConEmu from application launch, and I figured that the CygWin task in ConEmu would reach this link.

What am I doing wrong that prevents me from using CygWin commands in ConEmu for example ls

? PowerShell, annoyingly, seems to link nicely ls

with dir

...

Attached my task in ConEmu settings enter image description here

+3


source to share


4 answers


Adding a hotkey to CygWin Bash and then executing the hotkey created a new tab where I could use the CygWin console internally.



I used to think that all consoles would be merged into an original tab with all available commands. However, this is not as real as for CygWin, for example, there is a completely different disk set up to emulate Linux.

0


source


I can use Cygwin with Conemu by just adding the same command cygwin adds to the desktop link.

C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -

      



And it worked the same way as it did when executing the link directly.

+1


source


It should automatically support. Try reloading and reloading defaults if they don't work. Check the path correctly. If that doesn't work either, try adding cygwin.bat instead of sh.exe. Let me know if it works.

0


source


Your question is not at all related to ConEmu.

Learn about the environment variable PATH

and how the OS executes commands. More about PowerShell aliases

...

In short. When you run the task PowerShell

, it ls.exe

fails if you run ls

from the PS prompt.

0


source







All Articles