[Bash-completion-devel] [bash-completion-Bugs][314220] Aliasing sed to "sed --regexp-extended" breaks bash-completion
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Wed Apr 17 18:42:00 UTC 2013
bash-completion-Bugs item #314220, was opened at 2013-04-17 18:42 by Kerrick Staley
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314220&group_id=100114
Status: Open
Priority: 3
Submitted By: Kerrick Staley (kerrick-guest)
Assigned to: Nobody (None)
Summary: Aliasing sed to "sed --regexp-extended" breaks bash-completion
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number:
Initial Comment:
I have sed aliased to "sed --regexp-extended", which bash-completion doesn't seem to like.
One way to fix this would be to replace all instances of sed in bash-completion with \sed: the backslash overrides the alias. Another solution would be to bug the sed developers to add a flag (call it "--regexp-basic") that negates the effect of an earlier --regexp-extended. A third solution would be to somehow have bash-completion not inherit user-defined aliases, but I'm not sure if this is possible.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314220&group_id=100114
More information about the Bash-completion-devel
mailing list