Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: two completion questions
- X-seq: zsh-workers 9021
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: two completion questions
- Date: Mon, 13 Dec 1999 16:56:04 +0000
- In-reply-to: <199912131339.OAA25639@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199912131339.OAA25639@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Dec 13, 2:39pm, Sven Wischnowsky wrote:
} Subject: Re: two completion questions
}
} Zefram wrote:
}
} > Globbing and completion never generate "." or ".." components; they are
} > filtered out in zreaddir(). The reason for this is that they are pretty
} > much never what you want. If you have files named ".foo" and ".bar",
} > then type "." and press tab, are "." and ".." really what you want to
} > complete to? Maybe there should be an option to complete to "." and
} > ".." just like normal filenames, but I think the default should very
} > definitely stay as being the current behaviour.
}
} Right. This makes it configurable with the special-dirs style. Can
} anyone think of a better name?
I'm dubious that '.' should ever be a completion by itself. I really don't
want to type `.<TAB>' and end up with `./' on the line -- but I can see the
argument for wanting `..<TAB>' to behave that way. Yes, it's exactly the
same number of keystrokes to type the slash yourself instead of a tab, but
habits are habits.
Completing '.' would be even more annoying with REC_EXACT.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author