Hi,
Documents starts with a capital D. Type ~/Doc <tab>.
Tab completion is case sensitive.
--
Barry Hadder
[email protected]
https://twitter.com/BarryHadder
UnitMaster
Available in the Mac app store.
On May 11, 2013, at 11:29 AM, Brandt <[email protected]> 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: [email protected]
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: [email protected]
Twitter: brandtsteenkamp
On 11 May 2013, at 5:23 PM, "Jonathan C. Cohn" <[email protected]> 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: [email protected]
>>
>> 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: [email protected]
>>
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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 [email protected].
> To post to this group, send email to [email protected].
> 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 [email protected].
To post to this group, send email to [email protected].
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.