Skip to content

Commit

Permalink
global: fix declaration of associative arrays for "ble-reload"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jul 9, 2022
1 parent a2ace44 commit 533eba7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ble-decode.sh
Expand Up @@ -52,6 +52,7 @@ ble_decode_IsolatedESC=$((0x07FF))
if ((_ble_bash>=40300||_ble_bash>=40000&&!_ble_bash_loaded_in_function)); then
_ble_decode_kbd_ver=4
_ble_decode_kbd__n=0
builtin unset -v _ble_decode_kbd__k2c
if ((_ble_bash>=40300)); then
declare -gA _ble_decode_kbd__k2c
else
Expand Down
2 changes: 2 additions & 0 deletions ble-syntax-lazy.sh
Expand Up @@ -70,6 +70,8 @@ fi
# グローバル変数の定義 (関数内からではできないのでここで先に定義)

if ((_ble_bash>=40300||_ble_bash>=40000&&!_ble_bash_loaded_in_function)); then
builtin unset -v _ble_syntax_highlight_filetype
builtin unset -v _ble_syntax_highlight_lscolors_ext
if ((_ble_bash>=40300)); then
declare -gA _ble_syntax_highlight_filetype=()
else
Expand Down

0 comments on commit 533eba7

Please sign in to comment.