Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem changing to userdirs with a . in them
- X-seq: zsh-users 13036
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: problem changing to userdirs with a . in them
- Date: Tue, 15 Jul 2008 16:20:05 +0100
- In-reply-to: <20080715150452.GJ12642@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080715150452.GJ12642@xxxxxxxxxxxxxxxxxxxx>
Vincent van Leeuwen wrote:
> On some of our servers, customers have usernames with a . in them, of
> the form domain.tld.
This isn't currently handled in ~ expansion.
Index: Src/utils.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/utils.c,v
retrieving revision 1.195
diff -u -r1.195 utils.c
--- Src/utils.c 1 Jul 2008 08:36:02 -0000 1.195
+++ Src/utils.c 15 Jul 2008 15:13:16 -0000
@@ -2981,7 +2991,7 @@
typtab[t0] = IALPHA | IALNUM | IIDENT | IUSER | IWORD;
#endif
typtab['_'] = IIDENT | IUSER;
- typtab['-'] = IUSER;
+ typtab['-'] = typtab['.'] = IUSER;
typtab[' '] |= IBLANK | INBLANK;
typtab['\t'] |= IBLANK | INBLANK;
typtab['\n'] |= INBLANK;
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author