athityakumar / athityakumar/colorls

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

Open
#196 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
5.1k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/5631071/41205266-a719bf9c-6cf0-11e8-952e-5688c2732911.png)

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](https://user-images.githubusercontent.com/5631071/41205274-c7478646-6cf0-11e8-922b-6e84167fa2e8.png)

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

Contributor guide

Open the contributing guide

Research direction

The issue names the colorls gem and the Babun/Cygwin launch command, but no repository file or test. Start by reproducing the roughly 20-second `colorls` startup in that environment and compare it with Ruby or colorls startup outside Babun. Done means identifying the startup bottleneck and documenting or implementing a verified way to avoid the slowdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.