bash - Unable to put colors for LS by LS_OPTIONS -
I know that you can have the following for Grep. Bashrc
# puts Do you have any color to give color to your LS-command The other way? alias ls = 'ls-gh'
Here is a complete solution:
# BSD LS Exports LSCLLR = 'xfxxxxxxgackcack' #GNU LS and others (for example, tree exports) LS_COLORS = 'di = 34; 40: ln = 35; 40: So = 32; 40: pi = 33; 40: East = 31; 40: bd = 34; 46: cd = 34; 43: su = 0; 41: sg = 0; 46: tw = 0; 42: ove = 0; 43: 'If ["$ (uname -s)" =' Linux ']; Then #GNU LS LIS LS = 'LS --Car = Auto' and # BSD LS LIS LS LS = 'LS -G' FI
Comments
Post a Comment