Linux Lite Forums

Full Version: ls in XFCE Terminal returns color codes in variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
the alias: alias ls="ls --color" in .bashrc returns color codes in variables - I never had problems with this on any other distribution before. is there a way i can use colors in xfce terminal but not getting them returned as text in a variable on linux lite?

I get the following output for this line:
Code:
for folder in `ls`;do ls $folder/*;done

[Image: YGLSCQa.png]

as workaround I uncomment the line.

thanks for your help