[Terminal] - How to integrate with babun/cmder

     Hi guys
does anyone integrate them to the console
http://babun.github.io/

I tried by replace 'cmd.exe' by 'C:\Users\lovedota\.babun\cygwin\bin\zsh' but it does not keep session current directory
I tried by replace 'cmd.exe' by 'C:\Users\lovedota\.babun\cygwin\bin\mintty' but it opens a new window command line outside of the webstorm.

1.png

Please help Thanks !

11 comments
Comment actions Permalink

Hi

Try this

1. In your .babun  directory, create a file called embed.bat
babun1.png

2. Edit this into that file (change <babun install directory> to match your system)


babun2.png


3. Set terminal to call embed.bat file

babun3.png


4. Profit
babun4.png

2
Comment actions Permalink

It doesn't work in 2016.3 version, but works in previous.

0
Comment actions Permalink

what version of cygwin are you using?

0
Comment actions Permalink

1.7.35(0.287/5/3)

0
Comment actions Permalink

Somehow it fixed, but now problem is that it's not using project directory, it opens user home dir.

0
Comment actions Permalink

What care your current Shell Path settings?

0
Comment actions Permalink

I followed this instruction, path is the same as on the image above.  I mean there is no bug now, it just not supposed to work because it runs as *bash --login -i*. There is nothing that can tell what path should be used, it will use default cygwin/babun path.  This command (or another one) should be extended considering path problem.

0
Comment actions Permalink

The solution for the folder issue is described in the following article: http://engineroom.teamwork.com/using-cygwins-bash-terminal-in-a-jetbrains-ide/

0
Comment actions Permalink

Not embeded but open window with Cmder on folder project!  (Color console on Windows 10 with Alt + F12) ;)

embed.bat

@echo off
set currentdir=%cd:\=/%
D:\CASA\PORTABLES--\CMDER--\Cmder.exe /START %currentdir% %1 %2 %3 %4 %5 %6 %7 %8 %9 %10
0
Comment actions Permalink

to keep current directory I tried this solution:  http://engineroom.teamwork.com/using-cygwins-bash-terminal-in-a-jetbrains-ide/

But no affect after modifying the bash.bashrc file.

 

0
Comment actions Permalink

The way I managed to finally get it working properly was by implementing this. Loads Cmder at project location embedded:  https://github.com/cmderdev/cmder/issues/282#issuecomment-359697772

 
 
0

Please sign in to leave a comment.