athityakumar / colorls

A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. :tada:
MIT License
4.86k stars 384 forks source link

colorls for Babun/Cywgin with pact installed - really slow :-( #196

Open vmario89 opened 6 years ago

vmario89 commented 6 years ago

Hi,

i just installed colorls on Cygwin/Babun 64 Bit, which is integrated via Cmder/ConEmu and its working niceley except the speed fact.

i installed it with these commands:

pact install rubygems
gem update --system
pact install ruby-devel
gem install colorls

The fonts i use with Cmder are DeJaVuSansMono Nerd Font and font-awesome-extension to the Windows font directory C:\Windows\fonts grafik

I added Babun to Cmder with this task definition:

set "HOME=%ConEmuDir%\..\..\..\Babun\.babun\cygwin\home\%username%" & set "PATH=%ConEmuDir%\..\..\..\Babun\.babun\cygwin\bin;%PATH%" &%ConEmuBaseDirShort%\conemu-cyg-64.exe %ConEmuDir%\..\..\..\Babun\.babun\cygwin\bin\bash.exe --login -i -new_console:p:t:"Babun":P:"Babun"

However in Babun it takes about 20 seconds to load colorls grafik

It seems that ruby is the problem but i cannot figure out the reason. Did somebody of you know how to speed up ruby/cygwin/colorls? I'd like to use colorls as alias for ll and ls, but the slowdown makes impossible to use

regards, Mario

vmario89 commented 6 years ago

okay i just figured out that starting Babun directly utilizing mintty instead of Cmder it's much quicker: grafik