[Bash-completion-devel] [bash-completion-Bugs][312139] cowsay completion broken
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Mon Dec 7 16:12:50 UTC 2009
Bugs item #312139, was changed at 2009-12-07 09:03 by Ville Skyttä
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312139&group_id=100114
Status: Open
Priority: 3
Submitted By: C Denton (denton-guest)
Assigned to: Nobody (None)
Summary: cowsay completion broken
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
Status: None
Original bug number:
Initial Comment:
Description:
cowsay's completion should use /usr/bin/tail instead of tail. If tail is aliases (in this case it is an alias for colortail) it breaks cowsay's completion.
Steps to reproduce:
$ cowsay -f
*Tab press*
$ cowsay -f colortail: ColorTail.cc:68: int ColorTail::start(int, char**): Assertion `options != __null' failed.
Additional info:
bash-completion 1.1, cowsay 3.03
----------------------------------------------------------------------
>Comment By: Ville Skyttä (scop-guest)
Date: 2009-12-07 18:12
Message:
FWIW, the Fedora cowsay package ships a bash completion snippet which appears to be derived from Gentoo, and has some additional features over the one in bash completion (and for better or worse, doesn't use tail at all), so someone who uses cowsay could check whether it'd make sense to switch to that one or pick bits from it:
http://cvs.fedora.redhat.com/viewvc/devel/cowsay/cowsay.bashcomp?revision=.&view=markup
----------------------------------------------------------------------
Comment By: Mike Kelly (pioto-guest)
Date: 2009-12-07 15:48
Message:
I'd avoid absolute paths, and use `command tail` instead. But, since this issue seems to come up every once in a while, perhaps another solution is recommended?
----------------------------------------------------------------------
Comment By: C Denton (denton-guest)
Date: 2009-12-07 09:06
Message:
If tail is aliased*
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312139&group_id=100114
More information about the Bash-completion-devel
mailing list