D on Slashdot

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 21 00:19:29 PST 2015


On Wed, 21 Jan 2015 07:56:47 +0000
Kagamin via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> On Wednesday, 21 January 2015 at 02:23:03 UTC, ketmar via 
> Digitalmars-d wrote:
> > i even knew how to quit vi
> ctrl-c?
nope! it beeps. ;-)

> BTW, is there a way to make the shell autocomplete file names 
> completely instead of partially?
huh? shell is completing file name to the first ambiguous char. if you
have files with names "abdu" and "abde", it will autocomplete to "abd".
just hit tab again to see the list of variants. as shell can't do
telepathy yet, you must help it by resolving ambiguity.

you can also consider using zsh, which will not only show you the list
of files, but will allow you to select the file you want from that list
with arrows. it also can autocomplete things like '/u/lo/sha/' to
'/usr/local/share' in one hit.

> And in quotes
quotes are used for preventing autocompletion. ;-)

> escaped paths are ugly.
just don't use paths that needs escaping. ;-)

> And autocomplete an empty string too whether it's after a 
> slash or alone.
sorry, i can't understand you here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150121/46c54e61/attachment.sig>


More information about the Digitalmars-d mailing list