On 2/25/18 5:01 AM, Budi wrote: > How to apply Bash completion in more useful way. > If TAB key is pressed Bash just show a list of corresponding command, I > thought it will scroll over all corresponding command on which the cursor > of shell prompt is active. (just like traditional Windows cmd prompt) > How to make it able to perform such ? Thanks so much in advance
If I understand this correctly, you want the default to be what readline calls `menu completion'. You can bind tab to menu-complete to get what I think you want: bind 'TAB:menu-complete' -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/