Chris,

You have a very valid point here.  I forgot about it showing a list of matches.

Chris.

On May 13, 2013, at 10:41 AM, Chris Blouch <cblo...@aol.com> wrote:

> I think it's a more basic issue. In most home directories there is both a 
> Documents and a Downloads folder. So the autocomplete is ambiguous and bash 
> doesn't know which one you want. So if you type cd ~/D and hit tab you'll 
> hear your default 'bell' sound letting you know it couldn't do the match. If 
> you hit tab a second time bash will show all the items that did match so you 
> can disambiguate for it. In this case it will say Docuemtns/ and Downloads/. 
> So then if you continue the command by adding o and c to it and hit tab again 
> there is no longer ambiguity and bash will auto-complete the rest.
> 
> CB
> 
> On 5/13/13 10:23 AM, Chris Gilland wrote:
>> Yeah, I didn't think you had, but just figured I'd ask. That's really weird 
>> that it did that. Or shall I more correctly say, didn't! do that.
>> 
>> Chris.
>> 
>> ----- Original Message ----- From: "Brandt" <brandt.steenk...@gmail.com>
>> To: <macvisionaries@googlegroups.com>
>> Sent: Monday, May 13, 2013 7:50 AM
>> Subject: Re: Terminal and tab completion
>> 
>> 
>> In all honesty, I would not know where to start doing such a thing.
>> 
>> Warm regards,
>> 
>> Brandt Steenkamp
>> 
>> Sent from my macbook pro
>> 
>> Contact me:
>> 
>> Mobile/iMessage/WatsApp: +27781205013
>> 
>> Email: brandt.steenk...@gmail.com
>> 
>> My ring to Skype:
>> California, United States
>> +(1)760-5140161
>> Extension 512
>> Cape Town, South Africa
>> +(27)213-002317
>> Extension 161
>> Johannesburg, South Africa
>> +(27)105-002316
>> Extension 170
>> 
>> Skype: Brandt.steenkamp007
>> 
>> SIP: 5500...@spokn.com
>> 
>> Twitter: brandtsteenkamp
>> 
>> On 13 May 2013, at 1:40 PM, "Chris Gilland" <clgillan...@gmail.com> wrote:
>> 
>>> Hmm, weird. and you didn't hack your bash rc or anything of the sort?
>>> 
>>> Chris.
>>> 
>>> ----- Original Message ----- From: "Brandt" <brandt.steenk...@gmail.com>
>>> To: <macvisionaries@googlegroups.com>
>>> Sent: Monday, May 13, 2013 4:36 AM
>>> Subject: Re: Terminal and tab completion
>>> 
>>> 
>>> For some reason, bash did not want to do the tab completion thing. zhs is 
>>> working fine though. I will set it back to bash, just to make sure.
>>> 
>>> Warm regards,
>>> 
>>> Brandt Steenkamp
>>> 
>>> Sent from my macbook pro
>>> 
>>> Contact me:
>>> 
>>> Mobile/iMessage/WatsApp: +27781205013
>>> 
>>> Email: brandt.steenk...@gmail.com
>>> 
>>> My ring to Skype:
>>> California, United States
>>> +(1)760-5140161
>>> Extension 512
>>> Cape Town, South Africa
>>> +(27)213-002317
>>> Extension 161
>>> Johannesburg, South Africa
>>> +(27)105-002316
>>> Extension 170
>>> 
>>> Skype: Brandt.steenkamp007
>>> 
>>> SIP: 5500...@spokn.com
>>> 
>>> Twitter: brandtsteenkamp
>>> 
>>> On 13 May 2013, at 1:40 AM, "Chris Gilland" <clgillan...@gmail.com> wrote:
>>> 
>>>> Why would you have used zhs? Call me weird for asking, but... isn't it set 
>>>> to bash by default?
>>>> 
>>>> Chris.
>>>> 
>>>> ----- Original Message ----- From: "Brandt" <brandt.steenk...@gmail.com>
>>>> To: <macvisionaries@googlegroups.com>
>>>> Sent: Sunday, May 12, 2013 3:30 PM
>>>> Subject: Re: Terminal and tab completion
>>>> 
>>>> 
>>>> Hi,
>>>> 
>>>> The issue has been sorted. Just changed the shell from bash to I think zhs.
>>>> 
>>>> The last time I used a text based system was back in 93 or so with MS-DOS..
>>>> 
>>>> Warm regards,
>>>> 
>>>> Brandt Steenkamp
>>>> 
>>>> Sent from my macbook pro
>>>> 
>>>> Contact me:
>>>> 
>>>> Mobile/iMessage/WatsApp: +27781205013
>>>> 
>>>> Email: brandt.steenk...@gmail.com
>>>> 
>>>> My ring to Skype:
>>>> California, United States
>>>> +(1)760-5140161
>>>> Extension 512
>>>> Cape Town, South Africa
>>>> +(27)213-002317
>>>> Extension 161
>>>> Johannesburg, South Africa
>>>> +(27)105-002316
>>>> Extension 170
>>>> 
>>>> Skype: Brandt.steenkamp007
>>>> 
>>>> SIP: 5500...@spokn.com
>>>> 
>>>> Twitter: brandtsteenkamp
>>>> 
>>>> On 12 May 2013, at 8:53 PM, Georgina Joyce <g...@gena-j.me.uk> wrote:
>>>> 
>>>>> Hello,
>>>>> 
>>>>> Can we just go back to basics and check that we understand the situation 
>>>>> right.
>>>>> 
>>>>> You are going to your applications cmd + shift + a.
>>>>> 
>>>>> You are navigating to the utilities folder.
>>>>> 
>>>>> You are selecting terminal?
>>>>> 
>>>>> Then attempting tab completion?
>>>>> 
>>>>> If you are in agreement with the above. I'm sure the terminal is giving a 
>>>>> response. Whether it's an error tone or a message of some description. 
>>>>> How does the terminal respond?
>>>>> 
>>>>> Have you hacked your .bashrc or .bash_prifiles?
>>>>> 
>>>>> Is there more than one account on that machine? If so, do the other 
>>>>> accounts behave the same?
>>>>> 
>>>>> Gena
>>>>> 
>>>>> On 12 May 2013, at 09:09, Brandt <brandt.steenk...@gmail.com> wrote:
>>>>> 
>>>>>> Hi there,
>>>>>> 
>>>>>> There are no other directories starting with Doc, and I am not always in 
>>>>>> my home directory.
>>>>>> 
>>>>>> Warm regards,
>>>>>> 
>>>>>> Brandt Steenkamp
>>>>>> 
>>>>>> Sent from my macbook pro
>>>>>> 
>>>>>> Contact me:
>>>>>> 
>>>>>> Mobile/iMessage/WatsApp: +27781205013
>>>>>> 
>>>>>> Email: brandt.steenk...@gmail.com
>>>>>> 
>>>>>> My ring to Skype:
>>>>>> California, United States
>>>>>> +(1)760-5140161
>>>>>> Extension 512
>>>>>> Cape Town, South Africa
>>>>>> +(27)213-002317
>>>>>> Extension 161
>>>>>> Johannesburg, South Africa
>>>>>> +(27)105-002316
>>>>>> Extension 170
>>>>>> 
>>>>>> Skype: Brandt.steenkamp007
>>>>>> 
>>>>>> SIP: 5500...@spokn.com
>>>>>> 
>>>>>> Twitter: brandtsteenkamp
>>>>>> 
>>>>>> On 11 May 2013, at 10:58 PM, Georgina Joyce <g...@gena-j.me.uk> wrote:
>>>>>> 
>>>>>>> Hello,
>>>>>>> 
>>>>>>> What's it's response? Do you have another directory starting with Doc? 
>>>>>>> Why are you using the home identifier? Are you not at your home route?
>>>>>>> 
>>>>>>> Gena
>>>>>>> 
>>>>>>> 
>>>>>>> On 11/05/2013 20:04, Brandt wrote:
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> Still no luck. Any other ideas?
>>>>>>>> 
>>>>>>>> Warm regards,
>>>>>>>> 
>>>>>>>> Brandt Steenkamp
>>>>>>>> 
>>>>>>>> Sent from my macbook pro
>>>>>>>> 
>>>>>>>> Contact me:
>>>>>>>> 
>>>>>>>> Mobile/iMessage/WatsApp: +27781205013
>>>>>>>> 
>>>>>>>> Email: brandt.steenk...@gmail.com
>>>>>>>> 
>>>>>>>> My ring to Skype:
>>>>>>>> California, United States
>>>>>>>> +(1)760-5140161
>>>>>>>> Extension 512
>>>>>>>> Cape Town, South Africa
>>>>>>>> +(27)213-002317
>>>>>>>> Extension 161
>>>>>>>> Johannesburg, South Africa
>>>>>>>> +(27)105-002316
>>>>>>>> Extension 170
>>>>>>>> 
>>>>>>>> Skype: Brandt.steenkamp007
>>>>>>>> 
>>>>>>>> SIP: 5500...@spokn.com
>>>>>>>> 
>>>>>>>> Twitter: brandtsteenkamp
>>>>>>>> 
>>>>>>>> On 11 May 2013, at 8:55 PM, Barry Hadder <bhad...@gmail.com> wrote:
>>>>>>>> 
>>>>>>>>> Hi,
>>>>>>>>> 
>>>>>>>>> Documents starts with a capital D. Type ~/Doc <tab>.
>>>>>>>>> 
>>>>>>>>> Tab completion is case sensitive.
>>>>>>>>> 
>>>>>>>>> -- 
>>>>>>>>> Barry Hadder
>>>>>>>>> bhad...@gmail.com
>>>>>>>>> https://twitter.com/BarryHadder
>>>>>>>>> UnitMaster
>>>>>>>>> Available in the Mac app store.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On May 11, 2013, at 11:29 AM, Brandt <brandt.steenk...@gmail.com> 
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>> Hi there,
>>>>>>>>> 
>>>>>>>>> In this case, typing something like "cd ~/doc" then hitting the tab 
>>>>>>>>> key should complete "cd ~/documents" This is not happening. How do I 
>>>>>>>>> fix the problem?
>>>>>>>>> 
>>>>>>>>> Warm regards,
>>>>>>>>> 
>>>>>>>>> Brandt Steenkamp
>>>>>>>>> 
>>>>>>>>> Sent from my macbook pro
>>>>>>>>> 
>>>>>>>>> Contact me:
>>>>>>>>> 
>>>>>>>>> Mobile/iMessage/WatsApp: +27781205013
>>>>>>>>> 
>>>>>>>>> Email: brandt.steenk...@gmail.com
>>>>>>>>> 
>>>>>>>>> My ring to Skype:
>>>>>>>>> California, United States
>>>>>>>>> +(1)760-5140161
>>>>>>>>> Extension 512
>>>>>>>>> Cape Town, South Africa
>>>>>>>>> +(27)213-002317
>>>>>>>>> Extension 161
>>>>>>>>> Johannesburg, South Africa
>>>>>>>>> +(27)105-002316
>>>>>>>>> Extension 170
>>>>>>>>> 
>>>>>>>>> Skype: Brandt.steenkamp007
>>>>>>>>> 
>>>>>>>>> SIP: 5500...@spokn.com
>>>>>>>>> 
>>>>>>>>> Twitter: brandtsteenkamp
>>>>>>>>> 
>>>>>>>>> On 11 May 2013, at 5:23 PM, "Jonathan C. Cohn" <jonc...@cox.net> 
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> Hello,
>>>>>>>>>> 
>>>>>>>>>> This is rather a complicated question, since the terminal invokes a 
>>>>>>>>>> shell and the shell is then invoking other programs and there is no 
>>>>>>>>>> mechanism in UNIX to have those other programs tell the shell what 
>>>>>>>>>> arguments they will accept. On the other hand bash and zsh and tcsh 
>>>>>>>>>> shells will all do file name completion and can be programmed to do 
>>>>>>>>>> completion of of other commands unfortunately not many commands are 
>>>>>>>>>> so programmed. EMACS which has a toolkit called emacsspeak which can 
>>>>>>>>>> with some work be compiled to work on the Macintosh has a fairly 
>>>>>>>>>> extensive completion scheme. In places where emacs is using the 
>>>>>>>>>> command line at the bottom of the editor screen, and in some other 
>>>>>>>>>> areas where the text editor is not really working as a text editor, 
>>>>>>>>>> Emacs accepts a question mark to tell you what it expects and an tab 
>>>>>>>>>> (or perhaps an escape) to complete the current argument. Emacs took 
>>>>>>>>>> these structures from an 1080's Operating System called TOPS-20, and 
>>>>>>>>>> almost every completion scheme since has followed this example.T
>>>>>>>>>> 
>>>>>>>>>> To get back to the shell, when you type the command "defaults" and 
>>>>>>>>>> then provide arguments such as read com.apple.textedit those 
>>>>>>>>>> arguments are first interpreted by the shell and then once and only 
>>>>>>>>>> once you hit the return key are passed to the defaults command. So 
>>>>>>>>>> what this means is that unless the shell knows all 10,000 programs 
>>>>>>>>>> available to it it can not provide complete completion code.
>>>>>>>>>> Best wishes,
>>>>>>>>>> 
>>>>>>>>>> Jonathan
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On May 11, 2013, at 6:20 AM, Brandt wrote:
>>>>>>>>>> 
>>>>>>>>>>> Hi there folks,
>>>>>>>>>>> 
>>>>>>>>>>> Is there anyway to have the tab key complete what you are typing 
>>>>>>>>>>> into the terminal?
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> If there is, please let me know. Thanks so long.
>>>>>>>>>>> Warm regards,
>>>>>>>>>>> 
>>>>>>>>>>> Brandt Steenkamp
>>>>>>>>>>> 
>>>>>>>>>>> Sent from my macbook pro
>>>>>>>>>>> 
>>>>>>>>>>> Contact me:
>>>>>>>>>>> 
>>>>>>>>>>> Mobile/iMessage/WatsApp: +27781205013
>>>>>>>>>>> 
>>>>>>>>>>> Email: brandt.steenk...@gmail.com
>>>>>>>>>>> 
>>>>>>>>>>> My ring to Skype:
>>>>>>>>>>> California, United States
>>>>>>>>>>> +(1)760-5140161
>>>>>>>>>>> Extension 512
>>>>>>>>>>> Cape Town, South Africa
>>>>>>>>>>> +(27)213-002317
>>>>>>>>>>> Extension 161
>>>>>>>>>>> Johannesburg, South Africa
>>>>>>>>>>> +(27)105-002316
>>>>>>>>>>> Extension 170
>>>>>>>>>>> 
>>>>>>>>>>> Skype: Brandt.steenkamp007
>>>>>>>>>>> 
>>>>>>>>>>> SIP: 5500...@spokn.com
>>>>>>>>>>> 
>>>>>>>>>>> Twitter: brandtsteenkamp
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> -- 
>>>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>>>> Groups "MacVisionaries" group.
>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>>> send an email to macvisionaries+unsubscr...@googlegroups.com.
>>>>>>>>>>> To post to this group, send email to 
>>>>>>>>>>> macvisionaries@googlegroups.com.
>>>>>>>>>>> Visit this group at 
>>>>>>>>>>> http://groups.google.com/group/macvisionaries?hl=en.
>>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -- 
>>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>>> Groups "MacVisionaries" group.
>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>> send an email to macvisionaries+unsubscr...@googlegroups.com.
>>>>>>>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>>>>>>>> Visit this group at 
>>>>>>>>>> http://groups.google.com/group/macvisionaries?hl=en.
>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -- 
>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>> Groups "MacVisionaries" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>> send an email to macvisionaries+unsubscr...@googlegroups.com.
>>>>>>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>>>>>>> Visit this group at 
>>>>>>>>> http://groups.google.com/group/macvisionaries?hl=en.
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -- 
>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>> Groups "MacVisionaries" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>> send an email to macvisionaries+unsubscr...@googlegroups.com.
>>>>>>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>>>>>>> Visit this group at 
>>>>>>>>> http://groups.google.com/group/macvisionaries?hl=en.
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "MacVisionaries" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>>>> an email to macvisionaries+unsubscr...@googlegroups.com.
>>>>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>>>>> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "MacVisionaries" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>>> an email to macvisionaries+unsubscr...@googlegroups.com.
>>>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>>>> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>> 
>>>>>> 
>>>>> 
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google Groups 
>>>>> "MacVisionaries" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>>> email to macvisionaries+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>> 
>>>>> 
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "MacVisionaries" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>> email to macvisionaries+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>> 
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "MacVisionaries" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>> email to macvisionaries+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>> 
>>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "MacVisionaries" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to macvisionaries+unsubscr...@googlegroups.com.
>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "MacVisionaries" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to macvisionaries+unsubscr...@googlegroups.com.
>>> To post to this group, send email to macvisionaries@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>> 
>>> 
>> 
> 
> -- 
> ¯\_(ツ)_/¯
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To post to this group, send email to macvisionaries@googlegroups.com.
> Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to