aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2021-05-02 23:50:46 +0900
committerGitHub <noreply@github.com>2021-05-02 23:50:46 +0900
commit11ad0a45ff1695cac00e86c687cce6fa1fd1cdbd (patch)
tree0c31f80e1170e4fb4f8fa35982c0015bac5e12ff
parentMerge pull request #799 from syohex/license (diff)
parentgist -u or gist --update will auto-complete user gists (diff)
downloadzsh-completions-0.33.0.tar
zsh-completions-0.33.0.tar.gz
zsh-completions-0.33.0.tar.bz2
zsh-completions-0.33.0.tar.lz
zsh-completions-0.33.0.tar.xz
zsh-completions-0.33.0.tar.zst
zsh-completions-0.33.0.zip
Merge pull request #800 from maniac-en/pr/gist_update0.33.0
gist -u or gist --update will auto-complete user gists
-rw-r--r--src/_gist3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_gist b/src/_gist
index 77544a6..b105a56 100644
--- a/src/_gist
+++ b/src/_gist
@@ -36,6 +36,7 @@
#
# * Akira Maeda <https://github.com/glidenote>
# * Patrick Ziegler <https://github.com/patrick96>
+# * Shivam Mehta <https://github.com/maniac-en>
#
# ------------------------------------------------------------------------------
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
@@ -53,7 +54,7 @@ _arguments -C \
'(--no-private)'--no-private'[Makes your gist no private.]' \
'(-d --description)'{-d,--description}'[Adds a description to your gist.]:DESCRIPTION' \
'(-s --shorten)'{-s,--shorten}'[Shorten the gist URL using git.io.]' \
- '(-u --update)'{-u,--update}'[Update an existing gist.]:URL ID' \
+ '(-u --update)'{-u,--update}'[Update an existing gist.]:URL ID:user_gists' \
'(-a --anonymous)'{-a,--anonymous}'[Create an anonymous gist.]' \
'(-c --copy)'{-c,--copy}'[Copy the resulting URL to the clipboard]' \
'(-e --embed)'{-e,--embed}'[Copy the embed code for the gist to the clipboard]' \