Mithu2 wrote: > Hi, > > I know in Bash the file completion can be set to provide a menu-list of > possible files. This seems to be the default behaviour. On the other hand, > I could add: > > bind 'TAB:menu-complete' > > to my .bashrc which allows cycling through the list of completions. But > these two options are mutually exclusive. > > Is is possible to activate BOTH on the same key (tab)? This is the default > behaviour in ZSH where the first tab will menu-list all the completions and > then the next tab starts cycling through the possible completions. (I > already have > > bind "set show-all-if-ambiguous on" > > to make the menu appear on the first tab)
The menu-complete implementation in bash-4.0 will honor the setting of show-all-if-ambiguous. If that is enabled, menu-complete will print the possible completions on the first tab as well as begin to cycle through the completion set. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/