etelpmoc.sh needs to export its variables
Bug #1969522 reported by
John Lenton
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
As discussed in the forum,
https:/
the tab completion de-serialier, etelpmoc.sh, needs to "export" the variables so that commands executed by the completion function (when using -F) or the command itself (when using -C) has access to them.
This means simply adding 'export' to all the variable declarations as they are popped off of $@ starting from COMP_TYPE down to COMP_WORDS.
Changed in snapd: | |
status: | New → Confirmed |
To post a comment you must log in.