aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2026-03-08 23:02:30 +0900
committerShohei YOSHIDA <syohex@gmail.com>2026-03-08 23:02:30 +0900
commit970077590a757ac748f1703db65b541a173253bf (patch)
tree2be68cefae9bba84905b8bc564f40b1d61d84f80 /src
parentFix glances completion (diff)
downloadzsh-completions-970077590a757ac748f1703db65b541a173253bf.tar
zsh-completions-970077590a757ac748f1703db65b541a173253bf.tar.gz
zsh-completions-970077590a757ac748f1703db65b541a173253bf.tar.bz2
zsh-completions-970077590a757ac748f1703db65b541a173253bf.tar.lz
zsh-completions-970077590a757ac748f1703db65b541a173253bf.tar.xz
zsh-completions-970077590a757ac748f1703db65b541a173253bf.tar.zst
zsh-completions-970077590a757ac748f1703db65b541a173253bf.zip
fix gist completion
- fix quoting
Diffstat (limited to 'src')
-rw-r--r--src/_gist4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_gist b/src/_gist
index 561213e..bf57e6e 100644
--- a/src/_gist
+++ b/src/_gist
@@ -48,14 +48,14 @@ _arguments -C \
'(-f --filename)'{-f,--filename}'[Sets the filename and syntax type.]:NAME' \
'(-t --type)'{-t,--type}'[Sets the file extension and syntax type.]:EXT' \
'(-p --private --no-private)'{-p,--private}'[Makes your gist private.]' \
- '(--no-private -p --private)'--no-private'[Makes your gist no private.]' \
+ '(--no-private -p --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:user_gists' \
'(-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]' \
'(-o --open --no-open)'{-o,--open}'[Open the resulting URL in a browser]' \
- '(--no-open -o --open)'--no-open'[No open the resulting URL in a browser]' \
+ '(--no-open -o --open)--no-open[No open the resulting URL in a browser]' \
'(-P --paste)'{-P,--paste}'[Paste from the clipboard to gist]' \
'(-R --raw)'{-R,--raw}'[Display raw URL of the new gist]' \
'(-l --list)'{-l,--list}'[List all gists for user ]::user' \