diff options
author | typebrook <typebrook@gmail.com> | 2020-01-20 16:06:38 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-01-20 16:06:38 +0800 |
commit | 5a57a95fa66707ef9b4ce9d3595b913118ddaf44 (patch) | |
tree | ed0460acee4dc38d58c2af5dedbe6a35f2943218 /scripts | |
parent | 28739fc48a2dae0f4af773ef7035c48c586eff6b (diff) |
update
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gist | 4 |
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 |