Linux Lite Forums
ls in XFCE Terminal returns color codes in variables - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: ls in XFCE Terminal returns color codes in variables (/showthread.php?tid=6100)



ls in XFCE Terminal returns color codes in variables - professorswag - 04-01-2019

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