zsh-users
 help / color / mirror / code / Atom feed
* Allow completion to work with files starting with = (equal sign)
@ 2007-10-03 14:42 François-Xavier Coudert
  2007-10-03 15:27 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: François-Xavier Coudert @ 2007-10-03 14:42 UTC (permalink / raw)
  To: zsh-users

Hi all,

Some of my files and directories have names beginning with = (the
equal sign). By using "unsetopt EQUALS", I can disable the standard
behaviour for =, and thus am able to use them properly. One thing that
still doesn't work, though, is the completion of filenames. Typing "cd
=fo" and TAB doesn't autocomplete to =foo, for example. (Completion
works fine for me otherwise.) How can I change this behaviour?

Regards,
FX


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Allow completion to work with files starting with = (equal sign)
  2007-10-03 14:42 Allow completion to work with files starting with = (equal sign) François-Xavier Coudert
@ 2007-10-03 15:27 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2007-10-03 15:27 UTC (permalink / raw)
  To: zsh-users

"=?ISO-8859-1?Q?Fran=E7ois-Xavier_Coudert?=" wrote:
> Some of my files and directories have names beginning with = (the
> equal sign). By using "unsetopt EQUALS", I can disable the standard
> behaviour for =, and thus am able to use them properly. One thing that
> still doesn't work, though, is the completion of filenames. Typing "cd
> =fo" and TAB doesn't autocomplete to =foo, for example. (Completion
> works fine for me otherwise.) How can I change this behaviour?

This seems to be working fine for me with "compinit" at least as far
back as 4.2.6; it inserts a "\" if there isn't one there, but that's
harmless.  Are you using compinit?  If you're using the old builtin
completion it's likely to be more haphazard.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-03 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-03 14:42 Allow completion to work with files starting with = (equal sign) François-Xavier Coudert
2007-10-03 15:27 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).