diff options
-rwxr-xr-x | scripts/gist | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gist b/scripts/gist index 088fc13..5874bc5 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -47,7 +47,6 @@ | |||
47 | # * show this help message | 47 | # * show this help message |
48 | # gist (help | h) | 48 | # gist (help | h) |
49 | 49 | ||
50 | # TODO parallel branch works with wget and other stuff | ||
51 | # TODO new command "user" to fetch other user's gists | 50 | # TODO new command "user" to fetch other user's gists |
52 | # TODO grep mode for description, file content | 51 | # TODO grep mode for description, file content |
53 | # TODO push github.com (may need new token) | 52 | # TODO push github.com (may need new token) |
@@ -436,7 +435,7 @@ _edit_gist() { | |||
436 | echo -n 'Type new description: ' | 435 | echo -n 'Type new description: ' |
437 | read DESC < /dev/tty | 436 | read DESC < /dev/tty |
438 | echo "{ \"description\": \"$DESC\" }" \ | 437 | echo "{ \"description\": \"$DESC\" }" \ |
439 | | curl -X PATCH -H "$AUTH_HEADER" --data @- $GITHUB_API/gists/$GIST_ID > /dev/null \ | 438 | | http_method PATCH $GITHUB_API/gists/$GIST_ID > /dev/null \ |
440 | && _update | 439 | && _update |
441 | } | 440 | } |
442 | 441 | ||