Sort `config` output

This commit is contained in:
rwxrob 2021-08-31 23:26:27 -04:00
parent 0da6d1dfeb
commit 0ab6c359b1
No known key found for this signature in database
GPG Key ID: 1CCACEDD2F65578E
1 changed files with 2 additions and 1 deletions

3
cmd
View File

@ -434,7 +434,8 @@ _config_dump() {
(( ${#CONF[@]} == 0 )) && return 0 (( ${#CONF[@]} == 0 )) && return 0
paste -d=\ paste -d=\
<(printf "%s\n" "${!CONF[@]}") \ <(printf "%s\n" "${!CONF[@]}") \
<(printf "%s\n" "${CONF[@]}") <(printf "%s\n" "${CONF[@]}") \
| sort
} }
# ----------------------------- utilities ---------------------------- # ----------------------------- utilities ----------------------------