This question already has an answer here:
- Aliases not available when using sudo 8 answers
When I run the
ls command using sudo-powers the file and directory names are all in white. When I run it as user the directory names are in bluish-purple, the scripts are in green and and the Asembler program is in white.
I did do a modification to from "color-prompt = YES" or something like that in some place but I don't remember configuring colour file names based on my User ID.
I like the coloured file types, how can I extend this to sudo?