bash-completion functions should be prefixed with __bash_completion__ to stop them conflicting with commands
Bug #1327586 reported by
Simon Arlott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
All of the functions defined in the /usr/share/
This causes them override lookups for commands in $PATH, which means that any command starting with an underscore is at risk of being overridden by a completions script.
This caused my $HOME/bin/_ssh script to stop being called after the /usr/share/
If the function names were prefixed with __bash_completion__ then they would be less likely to conflict with any real commands or user defined functions in a user profile file.
To post a comment you must log in.