Skip to content

Commit 9dd104f

Browse files
author
subnixr
committed
Merge branch 'aaronlna-fix-unknown-file-attribute-error'
2 parents ffaca85 + 67edfc5 commit 9dd104f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

minimal.zsh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ function mnml_me_git {
163163
# Wrappers & utils
164164
# join outpus of components
165165
function _mnml_wrap {
166-
local arr=()
166+
local -a arr
167+
arr=()
167168
local cmd_out=""
168169
local cmd
169170
for cmd in ${(P)1}; do
@@ -183,7 +184,8 @@ function _mnml_iline {
183184

184185
# display magic enter
185186
function _mnml_me {
186-
local output=()
187+
local -a output
188+
output=()
187189
local cmd_out=""
188190
local cmd
189191
for cmd in $MNML_MAGICENTER; do
@@ -222,7 +224,8 @@ function _mnml_buffer-empty {
222224
function _mnml_bind_widgets() {
223225
zmodload zsh/zleparameter
224226

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)
226229

227230
typeset -F SECONDS
228231
local zle_wprefix=s$SECONDS-r$RANDOM

0 commit comments

Comments
 (0)