colorls icon indicating copy to clipboard operation
colorls copied to clipboard

Tab completion colors don't match ls colors

Open aforsythe opened this issue 5 years ago • 5 comments

Description

Thanks for opening this issue. Add a brief description of what this issue is, and how to recreate it. Do tag the relevant issue(s) and PR(s) below. If required, add some screenshot(s) to showcase the issue.

  • Relevant Issues : Not sure if this is a bug or a feature request. My expectation is that tab completion colors would match those used in the ls command. See below ... Screen Shot 2020-06-18 at 3 19 30 PM

  • Relevant PRs : (none)

  • Type of issue :

    • [ ] Installation
    • [ ] Font-related
    • [x?] Feature request
    • [x?] Bug in existing feature
    • [ ] Developer mode : Code quality / Tests / Documentation

aforsythe avatar Jun 30 '20 15:06 aforsythe

The colors for the tab completion are determined by the shell. Which shell are you using?

avdv avatar Jun 30 '20 16:06 avdv

zsh 5.7.1

aforsythe avatar Jun 30 '20 18:06 aforsythe

zsh probably respects LS_COLORS, but can be configured to use any other coloring whatsoever.

colorls does not respect LS_COLORS. You could configure it (to some extent) to match the colors that zsh uses, but you'd still have to duplicate the settings.

If you want, you could also try https://github.com/avdv/scalals which does use the LS_COLORS, but is still a bit rough around the edges...

avdv avatar Jun 30 '20 19:06 avdv

Is there a quick way to get all the colors colorls is currently using?

aforsythe avatar Jun 30 '20 21:06 aforsythe

nvm ... found them in the .yaml

aforsythe avatar Jun 30 '20 21:06 aforsythe