summaryrefslogtreecommitdiffhomepage
path: root/scripts/gist
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-01-20 16:06:38 +0800
committertypebrook <typebrook@gmail.com>2020-01-20 16:06:38 +0800
commit5a57a95fa66707ef9b4ce9d3595b913118ddaf44 (patch)
treeed0460acee4dc38d58c2af5dedbe6a35f2943218 /scripts/gist
parent28739fc48a2dae0f4af773ef7035c48c586eff6b (diff)
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-xscripts/gist4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gist b/scripts/gist
index 823cc08..d3b5e5e 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -14,7 +14,7 @@
14# gist (update | u) [star | s] 14# gist (update | u) [star | s]
15# 15#
16# * list your gists with format: [number] [url] [file_num] [comment_num] [short description] 16# * list your gists with format: [number] [url] [file_num] [comment_num] [short description]
17# gist 17# gist [star | s]
18# 18#
19# * clone gist repos which are not in local 19# * clone gist repos which are not in local
20# * pull master branch if a local repo is behind its remote 20# * pull master branch if a local repo is behind its remote
@@ -153,7 +153,7 @@ _gist_id() {
153 fi 153 fi
154} 154}
155 155
156# FIXME error handling 156# FIXME error handling, if repo not cloned yet
157_goto_gist() { 157_goto_gist() {
158 _gist_id $1 158 _gist_id $1
159 echo This gist is at $folder/$GIST_ID 159 echo This gist is at $folder/$GIST_ID