Bugs item #313566, was opened at 10/03/2012 12:14 You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313566&group_id=100114
Status: Open Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: No completion with colormake as make alias Distribution: None Originally reported in: None Milestone: None Status: None Original bug number: Initial Comment: When colormake is used as an alias for make, completion doesn't work Step to reproduce : - Open a terminal - Create alias for make to colormake > alias make=coloarmake - Go to a directory containing a - Type make command and try to autocomplete > make <TAB><TAB> - No completion happens. Explanation : Colormake generate color even if stdout is not a tty. As a result, all generated lines begins with \e caracter and are not matched by /^[a-zA-Z0-9][^$#\/\t=]*:([^=]|$)/ regular expression in awk. Possible solutions : - replace make by \make in COMREPLY line (fast and easy). - report bug upstream and expect colormake maintainer will implement ls/grep/dir/... --color equivalent option (need more changes than first solution). Additonal information : It could also be useful to add colormake in the list of programs impacted by completion. It is useful if colormake is not used as make alias patch is already applied in ubuntu : https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/743208 ---------------------------------------------------------------------- You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313566&group_id=100114 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel