summaryrefslogtreecommitdiffhomepage
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 72772bd..d2acc7d 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -86,6 +86,7 @@ _show_list() {
86# get the list of gists 86# get the list of gists
87# TODO support secret gist 87# TODO support secret gist
88_update() { 88_update() {
89 echo "fetching from api.gist.com" > /dev/tty
89 list_file=$index 90 list_file=$index
90 route="users/$user/gists" 91 route="users/$user/gists"
91 mark="" 92 mark=""
@@ -225,7 +226,7 @@ case "$1" in
225 _update "$2" 226 _update "$2"
226 ;; 227 ;;
227 star | s) 228 star | s)
228 _show_list $starred 229 [[ $2 =~ ^(update|u) ]] && _update --star || _show_list $starred
229 ;; 230 ;;
230 sync | S) 231 sync | S)
231 _sync_repos 232 _sync_repos