From fb7078044b0603e1ab1ad9753eb55798d60a99e3 Mon Sep 17 00:00:00 2001 From: Johannes Bittner Date: Sun, 17 Sep 2023 12:44:31 +0200 Subject: [PATCH] prevent global variables from overwriting Co-authored-by: Shohei YOSHIDA --- src/_chatblade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_chatblade b/src/_chatblade index 4c0fd7b..a6d9210 100644 --- a/src/_chatblade +++ b/src/_chatblade @@ -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]'