mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-05 23:48:48 +08:00
prevent global variables from overwriting
Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
This commit is contained in:
1 parent
bc8cdc6b79
commit
fb7078044b
1 file changed
+2
@@ -15,6 +15,8 @@
|
||||
|
||||
_chatblade() {
|
||||
local -a args
|
||||
local context state state_descr line
|
||||
typeset -A opt_args
|
||||
|
||||
args+=(
|
||||
'(- *)'{-h,--help}'[show this help message and exit]'
|
||||
|
||||
Reference in new issue
Block a user