mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-11-16 16:48:28 +01:00
Sort LS_COLORS before generating
Now changing the ordering of the definitions of the LS_COLORS file will not change the output. Thus, it's easier to know if a reorganization of LS_COLORS made unintended changes to the results.
This commit is contained in:
parent
35d80f90ce
commit
5e1fd9968c
3 changed files with 4 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -8,8 +8,8 @@ clean:
|
|||
@command rm ${FILE_NAME}.csh 2>/dev/null || true
|
||||
|
||||
generate: clean
|
||||
@dircolors --bourne-shell LS_COLORS > ${FILE_NAME}.sh
|
||||
@dircolors --c-shell LS_COLORS > ${FILE_NAME}.csh
|
||||
@command sort LS_COLORS | dircolors --bourne-shell - > ${FILE_NAME}.sh
|
||||
@command sort LS_COLORS | dircolors --c-shell - > ${FILE_NAME}.csh
|
||||
|
||||
install: generate
|
||||
@command cp ${FILE_NAME}.sh ${FILE_NAME}.csh ${XDG_DATA_HOME}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue