From e1c9027186a05f25a72736d115436c6492adb18d Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 18 Mar 2020 18:11:25 +0800 Subject: Reformat 'gist detail' --- gist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gist b/gist index 916caf5..a6d8f04 100755 --- a/gist +++ b/gist @@ -501,10 +501,10 @@ _show_detail() { sed -n "/^$1 / p" $INDEX \ | while read -r "${INDEX_FORMAT[@]}"; do local hashtags=$(_hashtags "$description") - echo description: ${description%% $hashtags} + echo desc: ${description%% $hashtags} echo tags: $hashtags echo site: https://gist.github.com/$GIST_ID - echo API: https://api.github.com/gists/$GIST_ID + echo API : https://api.github.com/gists/$GIST_ID echo created_at: $created_at echo updated_at: $updated_at repo=$folder/$GIST_ID -- cgit v1.2.3-70-g09d2