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:
Ryan Delaney 2022-03-14 12:08:38 -04:00 committed by Ryan Delaney
parent 35d80f90ce
commit 5e1fd9968c
3 changed files with 4 additions and 4 deletions

View File

@ -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