File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,8 @@ function mnml_me_git {
163
163
# Wrappers & utils
164
164
# join outpus of components
165
165
function _mnml_wrap {
166
- local arr=()
166
+ local -a arr
167
+ arr=()
167
168
local cmd_out=" "
168
169
local cmd
169
170
for cmd in ${(P)1} ; do
@@ -183,7 +184,8 @@ function _mnml_iline {
183
184
184
185
# display magic enter
185
186
function _mnml_me {
186
- local output=()
187
+ local -a output
188
+ output=()
187
189
local cmd_out=" "
188
190
local cmd
189
191
for cmd in $MNML_MAGICENTER ; do
@@ -222,7 +224,8 @@ function _mnml_buffer-empty {
222
224
function _mnml_bind_widgets() {
223
225
zmodload zsh/zleparameter
224
226
225
- local to_bind=(zle-line-init zle-keymap-select buffer-empty)
227
+ local -a to_bind
228
+ to_bind=(zle-line-init zle-keymap-select buffer-empty)
226
229
227
230
typeset -F SECONDS
228
231
local zle_wprefix=s$SECONDS -r$RANDOM
You can’t perform that action at this time.
0 commit comments