Skip to content

Commit d4ae526

Browse files
committed
fix(make,tshark): work around localvar_inherit
1 parent 5f3e5f8 commit d4ae526

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

completions/make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ _comp_cmd_make()
110110
elif [[ $cur == *=* ]]; then
111111
prev=${cur%%=*}
112112
cur=${cur#*=}
113-
local diropt
113+
local diropt=""
114114
[[ ${prev,,} == *dir?(ectory) ]] && diropt=-d
115115
_comp_compgen_filedir $diropt
116116
else

completions/tshark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
_comp_cmd_tshark()
44
{
5-
local cur prev words cword comp_args prefix
5+
local cur prev words cword comp_args prefix=""
66
_comp_initialize -n : -- "$@" || return
77

88
case $cur in

0 commit comments

Comments
 (0)