Bugs item #312143, was opened at 2009-12-07 19:29 by Kevin Hunter You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312143&group_id=100114
Status: Open Priority: 3 Submitted By: Kevin Hunter (hunteke-guest) Assigned to: Nobody (None) Summary: protect against user's personal binary preferences Distribution: Ubuntu Originally reported in: None Milestone: None Status: None Original bug number: Initial Comment: Since the bash_completion script is sourced /into/ a user's shell session, their personal preferences, e.g. aliases, would otherwise get used. (e.g. alias grep='grep --color=always') This is not what bash_completion needs. In the example, this would return something like $ sudo apt-get purge ggz[tab] $ apt-get purge ggz^[\[m^[\[K^[\[m^[\[Kcore-bin Instead, what we want is: $ sudo apt-get purge ggz[tab] $ sudo apt-get purge ggzcore-bin Please see attached bashrc snippet and suggested patch to bash_completion. Note: I did not change any of the comments. Just the places where grep is actually used and called as 'grep'. ---------------------------------------------------------------------- You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312143&group_id=100114 _______________________________________________ Bash-completion-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel
