zsh-workers
 help / color / mirror / code / Atom feed
* Weird backslash on expand-word on braces
@ 2010-02-12  8:31 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2010-02-12  8:31 UTC (permalink / raw)
  To: zsh workers

{$((1))..$((3))}

Pressing tab pretty much anywhere except after the final } works and
gives {1..3} as expected, but at the final } it gives {1..3\}. Happens
in zsh -f with no compinit done too.

-- 
Mikael Magnusson

If anyone is wondering what I'm doing, I was experimenting with a
braceccl like function that works for multibyte,
% for a ({$(( ##a ))..$(( ##z ))}) { echo -n ${(#)a} }
abcdefghijklmnopqrstuvwxyz
% for a ({$(( ##☘ ))..$(( ##♽ ))}) { echo -n ${(#)a} }
☘☙☚☛☜☝☞☟☠☡☢☣☤☥☦☧☨☩☪☫☬☭☮☯☰☱☲☳☴☵☶☷☸☹☺☻☼☽☾☿♀♁♂♃♄♅♆♇♈♉♊♋♌♍♎♏♐♑♒♓♔♕♖♗♘♙♚♛♜♝♞♟♠♡♢♣♤♥♦♧♨♩♪♫♬♭♮♯♰♱♲♳♴♵♶♷♸♹♺♻♼♽

Just wanted to check that you can have $(()) inside {} and pressed tab.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-12  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-12  8:31 Weird backslash on expand-word on braces Mikael Magnusson

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).