diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-07-03 13:17:09 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-07-03 13:17:30 +0800 |
| commit | e9ad59e6e64921690c767b6d82c97d0b037b5f2b (patch) | |
| tree | b7b7e30b7e9090abc09f98d2f59a0cde04adb428 | |
| parent | be46fcdede28283ee33dbfe1d817c9f592a596a2 (diff) | |
Fix configuation 'show_untagged'
| -rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -320,7 +320,7 @@ _print_records() { | |||
| 320 | | while read -r "${INDEX_FORMAT[@]}"; do | 320 | | while read -r "${INDEX_FORMAT[@]}"; do |
| 321 | local message="$(printf '%-56s' ${GIST_DOMAIN}/${gist_id})" | 321 | local message="$(printf '%-56s' ${GIST_DOMAIN}/${gist_id})" |
| 322 | if [[ $display == 'tag' ]]; then | 322 | if [[ $display == 'tag' ]]; then |
| 323 | [[ $show_untagged == 'false' && tags_string == ',' ]] && continue | 323 | [[ $show_untagged == 'false' && $tags_string == ',' ]] && continue |
| 324 | message="$(printf '% 45s' "${tags_string//,/ }") " | 324 | message="$(printf '% 45s' "${tags_string//,/ }") " |
| 325 | elif [[ $display == 'language' ]]; then | 325 | elif [[ $display == 'language' ]]; then |
| 326 | message="$(tr ',' '\n' <<< $file_array | sed -Ee 's/.+=/#/' | uniq | xargs)" | 326 | message="$(tr ',' '\n' <<< $file_array | sed -Ee 's/.+=/#/' | uniq | xargs)" |