Skip to content

Commit 11ad0a4

Browse files
authored
Merge pull request #800 from maniac-en/pr/gist_update
gist -u or gist --update will auto-complete user gists
2 parents e14d470 + c4b8c83 commit 11ad0a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/_gist

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#
3737
# * Akira Maeda <https://github.com/glidenote>
3838
# * Patrick Ziegler <https://github.com/patrick96>
39+
# * Shivam Mehta <https://github.com/maniac-en>
3940
#
4041
# ------------------------------------------------------------------------------
4142
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
@@ -53,7 +54,7 @@ _arguments -C \
5354
'(--no-private)'--no-private'[Makes your gist no private.]' \
5455
'(-d --description)'{-d,--description}'[Adds a description to your gist.]:DESCRIPTION' \
5556
'(-s --shorten)'{-s,--shorten}'[Shorten the gist URL using git.io.]' \
56-
'(-u --update)'{-u,--update}'[Update an existing gist.]:URL ID' \
57+
'(-u --update)'{-u,--update}'[Update an existing gist.]:URL ID:user_gists' \
5758
'(-a --anonymous)'{-a,--anonymous}'[Create an anonymous gist.]' \
5859
'(-c --copy)'{-c,--copy}'[Copy the resulting URL to the clipboard]' \
5960
'(-e --embed)'{-e,--embed}'[Copy the embed code for the gist to the clipboard]' \

0 commit comments

Comments
 (0)