Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colours get lost #14

Open
silky opened this issue Aug 17, 2016 · 2 comments
Open

colours get lost #14

silky opened this issue Aug 17, 2016 · 2 comments

Comments

@silky
Copy link

silky commented Aug 17, 2016

with with ls i don't see the coloured folders. it'd be nice to somehow retain the colouring.

@mchav
Copy link
Owner

mchav commented Aug 18, 2016

I'll look at this soon. If anyone is interested though this links seems like a first step:

http://stackoverflow.com/questions/3515208/can-colorized-output-be-captured-via-shell-redirect

@dragonator
Copy link
Contributor

I think that the problem is that aliases are not active within the script.
I tried the following command and I got coloured output:
$ with ls --color

If you check your alias for ls you'll probably see this:

$ alias ls
alias ls='ls --color=auto'

So if a support for aliases is added to the script, you should get your coloured output.

I'll take a look at this feature when I have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants