zsh-users
 help / color / mirror / code / Atom feed
From: lists <lists@kalama.no-ip.org>
To: Motoi Washida <a66@h8.dion.ne.jp>
Cc: zsh-users@sunsite.dk
Subject: Darwin _defaults completion bug
Date: Thu, 3 Feb 2005 22:45:15 -0600	[thread overview]
Message-ID: <bb57a9a834f9731d92eac69b1260728e@kalama.no-ip.org> (raw)

Hi Motoi,
	I think I've found a small bug with your _defaults completion (which I 
use all the time).  If I type 'defaults read -g' then hit the Tab key, 
I see a list of possible completions which are quoted *and* escaped 
with a backslash.  Here's what I mean:

% zsh -f
% autoload -U compinit
% compinit -C -d ~/.zcompdump_$ZSH_VERSION
% defaults read -g <TAB>
\"com.apple.AppleShareClientCore\"
\"com.apple.keyboard.fnState\"
\"com.apple.mouse.ignoreTrackpadIfMousePresent\"
\"com.apple.mouse.ignoreTypingFilter\"
\"com.apple.mouse.tapBehavior\"
\"com.apple.sound.beep.feedback\"
\"com.apple.trackpad.scaling\"
AppleAntiAliasingThreshold

...et cetera, et cetera.  The command doesn't work in the escaped + 
quoted form.  If just the quotes are used, the command works.  I've 
looked at _defaults but haven't been able to figure out where the 
escapes are being inserted.  If you get a chance, could you take a 
look?

Thanks,
Ryan


             reply	other threads:[~2005-02-04  4:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04  4:45 lists [this message]
2005-02-18  6:55 ` Motoi Washida
2005-02-18 14:22   ` lists

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=bb57a9a834f9731d92eac69b1260728e@kalama.no-ip.org \
    --to=lists@kalama.no-ip.org \
    --cc=a66@h8.dion.ne.jp \
    --cc=zsh-users@sunsite.dk \
    /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).