From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6552 invoked by alias); 30 May 2013 21:15:50 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17817 Received: (qmail 676 invoked from network); 30 May 2013 21:15:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, MISSING_HEADERS,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at gnufish.net does not designate permitted sender hosts) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-type:x-gm-message-state; bh=32TJpTKjdzA3Y5TO8+/YPHRdkWSEwcUQujR9WZuy7XA=; b=erogZIDIM4T9BKX8phJt+U3a3QXfA4DGwjFxzJCtc4y2iDNCIVnyiDuSE20YpeBUNy rvGMAF+vp9FlU9PHIVh6g0lkqiwFIeAkqDQ3KBaIQiNVtRm2NPrEe2kpNGcMMyF7DiYv 51XFYSTNmhnzjFHyeIWUWiAmNbsX9/183NIVkKmG9yaDkylyKEzdLOiF5BCwIqbefGPn NxE2n5gD0xMQArfUlhsjLipRwuM0u3PUZMA55Vk17jywTmiECcQtt7PEHtqpF7F3HS2+ T8yewZR2IPHodE4MlB2otCmS5Ki/QG4yN8MNco1xUBgFzN5SEEpf8Kx6TacWh8cJuV1q Dw7g== X-Received: by 10.229.133.65 with SMTP id e1mr2952372qct.105.1369948536393; Thu, 30 May 2013 14:15:36 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Mario Signorino Date: Thu, 30 May 2013 23:15:15 +0200 Message-ID: Subject: Re: How to capture the tab completion result? Cc: Zsh Users Content-Type: multipart/alternative; boundary=e89a8f50389cdf6e6b04ddf5ff03 X-Gm-Message-State: ALoCoQnXm0K+MUlDlfc6lQr49A+3SgG5k4TWWsR86Q5/vj3Gu/fyS+cAdMCk0CN1DPXLvfBoiJFN --e89a8f50389cdf6e6b04ddf5ff03 Content-Type: text/plain; charset=UTF-8 Again: that's exactly what I needed. Tnx a lot. Mario On Tue, May 28, 2013 at 10:25 AM, Bart Schaefer wrote: > On Mon, May 27, 2013 at 9:45 AM, Mario Signorino > wrote: > > > > zstyle ":completion:*:descriptions" format > "\033[H%d" > > > > Is it also possible to enable the interpretation of backslash escapes? > > Just use the $'...' notation to embed a literal escape in the style: > > zstyle ":completion:*:descriptions" format > $'\033[H%d' > > It's sort of a matter of personal preference whether to write > $'\033'"[H..." (concatenate two sets of quotes) or just wrap the whole > thing in $'...' like I did. Concatenating the double quotes makes it > easier to reference variables, etc., but you can't use $'...' inside > double quotes. > --e89a8f50389cdf6e6b04ddf5ff03--