aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-06-19 12:39:15 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-06-19 12:39:15 +0800
commitef7615444b902f1cc1741e0ee9a7eb7ba18cdd46 (patch)
tree251a00acbac9ac77930375dfa74419817b45c0e2
parentea8eb5d8e90646b054a984e6e69f046c59630b4b (diff)
update
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index 24d7be1..a776ca2 100755
--- a/gist
+++ b/gist
@@ -451,7 +451,7 @@ _query_user() {
451 route=users/$1/gists _fetch_gists_with_pagnation $fetched_records 451 route=users/$1/gists _fetch_gists_with_pagnation $fetched_records
452 tac $fetched_records | nl -s' ' \ 452 tac $fetched_records | nl -s' ' \
453 | while read -r ${INDEX_FORMAT[@]}; do 453 | while read -r ${INDEX_FORMAT[@]}; do
454 echo $index $gist_id $author $file_num $comment_num $description | cut -c -"$(tput cols)" 454 echo $index ${GIST_DOMAIN}/${gist_id} $author $file_num $comment_num $description | cut -c -"$(tput cols)"
455 done || { echo "Failed to query $1's gists"; exit 1; } 455 done || { echo "Failed to query $1's gists"; exit 1; }
456} 456}
457 457