FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-22-2012, 12:53 AM
Ed Greshko
 
Default bash command completion

On 06/22/2012 08:25 AM, Richard Vickery wrote:
> Before F-17 I had become accustomed through experience to using <tab>, hit twice,
> to get a full list of the commands; perhaps you set it by default - at least in the
> release on the website. This time I upgraded through the link in the mail. Perhaps
> I asked this before and forgot the method: what is the proper command to get a
> list of all of the commands, and perhaps, how do I set it up through this <tab>
> shortcut?

The behavior was changed.... I'm guessing this is due to offering to show 4000+
possibilities a bit useless. However, you can type a single letter + tab and get the
commands listed that start with that letter.

I'm taking a SWAG, but you'd probably have to edit
/usr/share/bash-completion/bash_completion to get the old behavior back.


--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-22-2012, 02:41 PM
Aaron Konstam
 
Default bash command completion

On Thu, 2012-06-21 at 17:25 -0700, Richard Vickery wrote:
Hi gang:
>
>
> Before F-17 I had become accustomed through experience to using <tab>,
hit twice, to get a full list of the commands; perhaps you set it by
default - at least in the release on the website. This time I upgraded
through the link in the mail. Perhaps I asked this before and forgot the
method: what is the proper command to get a
> list of all of the commands, and perhaps, how do I set it up through
this <tab> shortcut?
>
>
> Thanks,
> Richard
>
The way it works on both my F16 and F17 machine is:
1. tab -completion to first matching file
2 2 tabs - same as above
3. 3 tabs - all files that would be seen by completion
--
--
================================================== =====================
I wish a robot would get elected president. That way, when he came to
town, we could all take a shot at him and not feel too bad. -- Jack
Handley
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
--
================================================== =====================
It is always the best policy to tell the truth, unless, of course, you
are an exceptionally good liar. -- Jerome K. Jerome
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-22-2012, 03:30 PM
suvayu ali
 
Default bash command completion

On Fri, Jun 22, 2012 at 2:53 AM, Ed Greshko <Ed.Greshko@greshko.com> wrote:
> I'm taking a SWAG, but you'd probably have to edit
> /usr/share/bash-completion/bash_completion to get the old behavior back.

The OP can just wrap or redefine _minimal. Followed by a

$ complete -F <wrapper> # or _minimal if redefined

should do the job.

--
Suvayu

Open source is the future. It sets us free.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-23-2012, 04:19 AM
Richard Vickery
 
Default bash command completion

This is awesome Ed: *Did it work like this before as well, and I was just ignorant of it? Now all the commands are readable, which for me is better as it seemed as if they were somewhat jumbled, as the letter you are looking at seemed to meshed into the next.

Sorry that I didn't get to try the others; perhaps I will at some point. It's just that Ed's suggestion is so easy

On Thu, Jun 21, 2012 at 5:53 PM, Ed Greshko <Ed.Greshko@greshko.com> wrote:

On 06/22/2012 08:25 AM, Richard Vickery wrote:

> Before F-17 I had become accustomed through experience to using <tab>, hit twice,

> to get a full list of the commands; perhaps you set it by default - at least in the

> release on the website. This time I upgraded through the link in the mail. Perhaps

> I asked this before and forgot the method: what is the proper command to get a

> list of all of the commands, and perhaps, how do I set it up through this <tab>

> shortcut?



The behavior was changed.... *I'm guessing this is due to offering to show 4000+

possibilities a bit useless. *However, you can type a single letter + tab and get the

commands listed that start with that letter.



I'm taking a SWAG, but you'd probably have to edit

/usr/share/bash-completion/bash_completion to get the old behavior back.





--

Never be afraid to laugh at yourself, after all, you could be missing out on the joke

of the century. -- Dame Edna Everage

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Have a question? Ask away: http://ask.fedoraproject.org



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-23-2012, 05:11 AM
Ed Greshko
 
Default bash command completion

On 06/23/2012 12:19 PM, Richard Vickery wrote:
> This is awesome Ed: Did it work like this before as well, and I was just ignorant
> of it? Now all the commands are readable, which for me is better as it seemed as if
> they were somewhat jumbled, as the letter you are looking at seemed to meshed into
> the next.

Yes. Even in F16 and F15 a "letter + tab/tab" gets you a list of commands stating
with that letter...

F16

[egreshko@meimei ~]$ l (tab/tab)
Display all 183 possibilities? (y or n)

And, of course, you could do...2 letters and depending on the number of command you
may get the whole list...

[egreshko@meimei ~]$ ld (tab/tab)
ld ldapcompare ldapmodify ldapsearch ldattach ldd
ldapadd ldapdelete ldapmodrdn ldapurl ld.bfd lddlibc4
ldapb ldapexop ldappasswd ldapwhoami ldconfig ld.gold


But "tab/tab" on F16 gets you....

[egreshko@meimei ~]$ (tab/tab)
Display all 4262 possibilities? (y or n)

More or less....depending on what you've got installed.

With F17 you no longer have the sole "tab/tab" option....which isn't a bad thing IMO.


(FYI, "top posting" is frowned upon here.... :-) )


--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-24-2012, 04:55 PM
Richard Vickery
 
Default bash command completion

On Fri, Jun 22, 2012 at 10:11 PM, Ed Greshko <Ed.Greshko@greshko.com> wrote:

On 06/23/2012 12:19 PM, Richard Vickery wrote:

> This is awesome Ed: *Did it work like this before as well, and I was just ignorant

> of it? Now all the commands are readable, which for me is better as it seemed as if

> they were somewhat jumbled, as the letter you are looking at seemed to meshed into

> the next.



Yes. *Even in F16 and F15 a "letter + tab/tab" gets you a list of commands stating

with that letter...



F16



[egreshko@meimei ~]$ l (tab/tab)

Display all 183 possibilities? (y or n)



And, of course, you could do...2 letters and depending on the number of command you

may get the whole list...



[egreshko@meimei ~]$ ld (tab/tab)

ld * * * * * ldapcompare *ldapmodify * ldapsearch * ldattach * * ldd

ldapadd * * *ldapdelete * ldapmodrdn * ldapurl * * *ld.bfd * * * lddlibc4

ldapb * * * *ldapexop * * ldappasswd * ldapwhoami * ldconfig * * ld.gold





But "tab/tab" on F16 gets you....



[egreshko@meimei ~]$ (tab/tab)

Display all 4262 possibilities? (y or n)



More or less....depending on what you've got installed.



With F17 you no longer have the sole "tab/tab" option....which isn't a bad thing IMO.





(FYI, "top posting" is frowned upon here.... *:-) )





--

Never be afraid to laugh at yourself, after all, you could be missing out on the joke

of the century. -- Dame Edna Everage

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Have a question? Ask away: http://ask.fedoraproject.org


Bottom and top posting rules between posting here and the Developers list may get confusing
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-24-2012, 08:27 PM
Ed Greshko
 
Default bash command completion

On 06/25/2012 12:55 AM, Richard Vickery wrote:
> Bottom and top posting rules between posting here and the Developers list may get
> confusing

I'm sure you can handle it.... Does the Developer's list have rules about trimming
unnecessary cruft? :-) :-)

--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-24-2012, 09:51 PM
Richard Vickery
 
Default bash command completion

On Sun, Jun 24, 2012 at 1:27 PM, Ed Greshko <Ed.Greshko@greshko.com> wrote:

On 06/25/2012 12:55 AM, Richard Vickery wrote:

> Bottom and top posting rules between posting here and the Developers list may get

> confusing



I'm sure you can handle it.... *Does the Developer's list have rules about trimming

unnecessary cruft? *:-) :-)



--

Never be afraid to laugh at yourself, after all, you could be missing out on the joke

of the century. -- Dame Edna Everage

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Have a question? Ask away: http://ask.fedoraproject.org


unsure
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 12:16 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org