LWN.net Logo

30 years of GNU

30 years of GNU

Posted Sep 29, 2013 18:32 UTC (Sun) by gmaxwell (subscriber, #30048)
In reply to: 30 years of GNU by rahulsundaram
Parent article: 30 years of GNU

Sweet. But that doesn't really remove the fact that bash completion makes the behavior confusing.

Similar things happen for mplayer where mplayer identifies files by magic but bash completion has a predefined list of possible media files which will forever be incomplete (since magic based detection is how the tool actually works).


(Log in to post comments)

30 years of GNU

Posted Sep 29, 2013 19:51 UTC (Sun) by rahulsundaram (subscriber, #21946) [Link]

Individually programs that can extend or disable parts of bash completion as needed.

30 years of GNU

Posted Sep 29, 2013 20:07 UTC (Sun) by gmaxwell (subscriber, #30048) [Link]

Sure. There is an infinite number of ways you can improve the completions.

But the fundamental complaint I was making there is that it increases complexity and makes it more inexplicable when it does fail.

Programs extending or disabling parts of it increase the complexity further and potentially just exacerbate the problem, because it makes the behavior even harder to mentally model.

30 years of GNU

Posted Sep 29, 2013 20:12 UTC (Sun) by rahulsundaram (subscriber, #21946) [Link]

Providing more functionality always increases complexity. I think it is manageable in this case and it is optional anyway.

30 years of GNU

Posted Sep 29, 2013 23:08 UTC (Sun) by marcH (subscriber, #57642) [Link]

It does not matter: life is too short.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds