LWN.net Logo

CLI Magic: Bash complete (Linux.com)

CLI Magic: Bash complete (Linux.com)

Posted May 8, 2006 21:30 UTC (Mon) by stijn (subscriber, #570)
Parent article: CLI Magic: Bash complete (Linux.com)

Does anyone else find it extremely annoying when completion clobbers the screen with a menu? It has taken me years to find out that bash supports cyclic tab completion with bind '"\t":menu- complete'. I find that cyclic completion works a lot faster for me than menu-based completion.


(Log in to post comments)

CLI Magic: Bash complete (Linux.com)

Posted May 9, 2006 14:19 UTC (Tue) by tjc (subscriber, #137) [Link]

Very nice, thanks for the tip. It looks like there is an extra space in there (between the hyphen and the letter 'c'). It should be:

bind '"\t":menu-complete'

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