diff options
| author | typebrook <typebrook@gmail.com> | 2020-01-17 18:55:22 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-01-17 18:55:22 +0800 |
| commit | f8e5255f002ba450b004ff8294d1d194e2489571 (patch) | |
| tree | 7da8348615c1e2892062656d5bd8da0589a4cdfb /scripts/gist | |
| parent | 1b3cebd3c3db30adccf211c2fec376d4a7323f5c (diff) | |
update
Diffstat (limited to 'scripts/gist')
| -rwxr-xr-x | scripts/gist | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/gist b/scripts/gist index 193da00..39816a5 100755 --- a/scripts/gist +++ b/scripts/gist | |||
| @@ -218,6 +218,12 @@ case "$1" in | |||
| 218 | "") | 218 | "") |
| 219 | _show_list $index | 219 | _show_list $index |
| 220 | ;; | 220 | ;; |
| 221 | star | s) | ||
| 222 | _show_list $starred | ||
| 223 | ;; | ||
| 224 | update | u) | ||
| 225 | _update "$2" | ||
| 226 | ;; | ||
| 221 | new | n) | 227 | new | n) |
| 222 | shift; | 228 | shift; |
| 223 | _create_gist $@ | 229 | _create_gist $@ |
| @@ -225,12 +231,6 @@ case "$1" in | |||
| 225 | edit | e) | 231 | edit | e) |
| 226 | _edit_gist "$2" | 232 | _edit_gist "$2" |
| 227 | ;; | 233 | ;; |
| 228 | update | u) | ||
| 229 | _update "$2" | ||
| 230 | ;; | ||
| 231 | star | s) | ||
| 232 | _show_list $starred | ||
| 233 | ;; | ||
| 234 | sync | S) | 234 | sync | S) |
| 235 | _sync_repos | 235 | _sync_repos |
| 236 | ;; | 236 | ;; |