zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Weird backslash on expand-word on braces
Date: Fri, 12 Feb 2010 09:31:50 +0100	[thread overview]
Message-ID: <237967ef1002120031v24314a4em9b1afbabea75f4fa@mail.gmail.com> (raw)

{$((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.

                 reply	other threads:[~2010-02-12  8:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=237967ef1002120031v24314a4em9b1afbabea75f4fa@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).