mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
prevent global variables from overwriting
Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
This commit is contained in:
co-authored by
Shohei YOSHIDA
parent
bc8cdc6b79
commit
fb7078044b
@@ -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