From 0b53806a2c0b398f2c7c631220f51d5615429ecd Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 13 Jan 2020 00:22:03 +0800 Subject: update --- scripts/gist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/gist') diff --git a/scripts/gist b/scripts/gist index 80996b1..1e83612 100755 --- a/scripts/gist +++ b/scripts/gist @@ -66,7 +66,7 @@ _update() { tac | nl |\ while read line_num link blobs file_num comment_num description; do blob_code=$(echo $blobs | jq -r '.[]' | sed -r 's#.*raw/(.*)/.*#\1#' | sort | cut -c -7 | paste -sd '-') - echo $line_num $link $blob_code $file_num $comment_num $(echo $description | cut -c -80) | tr -d '"' + echo $line_num $link $blob_code $file_num $comment_num $(echo $description | cut -c -70) | tr -d '"' done > $index && \ _show_list } @@ -88,6 +88,7 @@ _sync_repos() { [[ $(git rev-parse origin/master) == $(git rev-parse master) ]] && \ git pull done + echo Everything is fine! } _gist_id() { -- cgit v1.2.3-70-g09d2