On Fri, Sep 17, 2010 at 12:05 PM, Sven Joachim <svenj...@gmx.de> wrote: > On 2010-09-17 17:50 +0200, kamaraju kusumanchi wrote: > >> say I have two files junk1, junk2. >> >> % ls >> junk1 junk2 >> >> In zsh, If I do >> % ls j<tab> >> >> it becomes >> >> % ls junk >> >> another tab shows the list of completions >> >> % ls junk >> junk1 junk2 > > And further tabs cycle through the list of possible completions.
yeah! zsh has quite cool stuff like that. >> However in bash, it takes 3 tabs to get the list of completions >> >> $ ls j<tab><tab><tab> >> junk1 junk2 >> >> Is there any option that can be changed in bash, so that I can get the >> completions like zsh? > > $ echo "set show-all-if-ambiguous on" >> ~/.inputrc > > will show the completions immediately, saving a keystroke. However, I > don't know a way how to cycle through the list of completions. > This is great! Just what I am looking for. raju -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktimujv_nckk5ejrngpb5f5+krnh3a=2gwgd_e...@mail.gmail.com