Skip to content

Commit 8faf866

Browse files
committed
fix(make,tshark): work around localvar_inherit
1 parent 44b8734 commit 8faf866

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)