aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gist3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist
index 80996b1..1e83612 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -66,7 +66,7 @@ _update() {
66 tac | nl |\ 66 tac | nl |\
67 while read line_num link blobs file_num comment_num description; do 67 while read line_num link blobs file_num comment_num description; do
68 blob_code=$(echo $blobs | jq -r '.[]' | sed -r 's#.*raw/(.*)/.*#\1#' | sort | cut -c -7 | paste -sd '-') 68 blob_code=$(echo $blobs | jq -r '.[]' | sed -r 's#.*raw/(.*)/.*#\1#' | sort | cut -c -7 | paste -sd '-')
69 echo $line_num $link $blob_code $file_num $comment_num $(echo $description | cut -c -80) | tr -d '"' 69 echo $line_num $link $blob_code $file_num $comment_num $(echo $description | cut -c -70) | tr -d '"'
70 done > $index && \ 70 done > $index && \
71 _show_list 71 _show_list
72} 72}
@@ -88,6 +88,7 @@ _sync_repos() {
88 [[ $(git rev-parse origin/master) == $(git rev-parse master) ]] && \ 88 [[ $(git rev-parse origin/master) == $(git rev-parse master) ]] && \
89 git pull 89 git pull
90 done 90 done
91 echo Everything is fine!
91} 92}
92 93
93_gist_id() { 94_gist_id() {