mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-23 12:32:00 +00:00
dc45332d7b
This commit adds to the parsing of the LS_COLORS and EXA_COLORS variables so that non-two-letter codes (keys other than things like ‘di’ or ‘ln’ or ‘ex’) will be treated as file name globs, and get used to colour files accordingly. Fixes #116 for good.
3.3 KiB
3.3 KiB
.--------- 0 cassowary 1 Jan 12:34 000
.--------x 0 cassowary 1 Jan 12:34 001
.-------w- 0 cassowary 1 Jan 12:34 002
.------r-- 0 cassowary 1 Jan 12:34 004
.-----x--- 0 cassowary 1 Jan 12:34 010
.----w---- 0 cassowary 1 Jan 12:34 020
.---r----- 0 cassowary 1 Jan 12:34 040
.--x------ 0 cassowary 1 Jan 12:34 100
.-w------- 0 cassowary 1 Jan 12:34 200
.r-------- 0 cassowary 1 Jan 12:34 400
.rw-r--r-- 0 cassowary 1 Jan 12:34 644
.rwxr-xr-x 0 cassowary 1 Jan 12:34 755
.rwxrwxrwx 0 cassowary 1 Jan 12:34 777
.--------T 0 cassowary 1 Jan 12:34 1000
.--------t 0 cassowary 1 Jan 12:34 1001
.-----S--- 0 cassowary 1 Jan 12:34 2000
.-----s--- 0 cassowary 1 Jan 12:34 2010
.--S------ 0 cassowary 1 Jan 12:34 4000
.--s------ 0 cassowary 1 Jan 12:34 4100
.rwSrwSrwT 0 cassowary 1 Jan 12:34 7666
.rwsrwsrwt 0 cassowary 1 Jan 12:34 7777
d--------- - cassowary 1 Jan 12:34 forbidden-directory
.--------x 0 cassowary 1 Jan 12:34 001
.-------w- 0 cassowary 1 Jan 12:34 002
.------r-- 0 cassowary 1 Jan 12:34 004
.-----x--- 0 cassowary 1 Jan 12:34 010
.----w---- 0 cassowary 1 Jan 12:34 020
.---r----- 0 cassowary 1 Jan 12:34 040
.--x------ 0 cassowary 1 Jan 12:34 100
.-w------- 0 cassowary 1 Jan 12:34 200
.r-------- 0 cassowary 1 Jan 12:34 400
.rw-r--r-- 0 cassowary 1 Jan 12:34 644
.rwxr-xr-x 0 cassowary 1 Jan 12:34 755
.rwxrwxrwx 0 cassowary 1 Jan 12:34 777
.--------T 0 cassowary 1 Jan 12:34 1000
.--------t 0 cassowary 1 Jan 12:34 1001
.-----S--- 0 cassowary 1 Jan 12:34 2000
.-----s--- 0 cassowary 1 Jan 12:34 2010
.--S------ 0 cassowary 1 Jan 12:34 4000
.--s------ 0 cassowary 1 Jan 12:34 4100
.rwSrwSrwT 0 cassowary 1 Jan 12:34 7666
.rwsrwsrwt 0 cassowary 1 Jan 12:34 7777
d--------- - cassowary 1 Jan 12:34 forbidden-directory