Skip to content

Commit 1d9e19c

Browse files
committed
fix(update-alternatives): work around localvar_inherit
1 parent 6143f25 commit 1d9e19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/update-alternatives

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ _comp_cmd_update_alternatives()
3131
;;
3232
esac
3333

34-
local mode args i
34+
local mode="" args i
3535

3636
# find which mode to use and how many real args used so far
3737
for ((i = 1; i < cword; i++)); do

0 commit comments

Comments
 (0)