From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Completed filenames quoted instead of escaped?
Date: Mon, 24 Oct 2011 09:40:11 -0700 [thread overview]
Message-ID: <111024094011.ZM7194@torch.brasslantern.com> (raw)
In-Reply-To: <20111023173909.10b440b4@pws-pc.ntlworld.com>
On Oct 23, 5:39pm, Peter Stephenson wrote:
} Subject: Re: Completed filenames quoted instead of escaped?
}
} On Sat, 22 Oct 2011 17:25:43 +0000 (UTC)
} Daniel <quite@hack.org> wrote:
} > I would like completed and expanded filenames to generally "be quoted"
} > instead\ of\ escaped. Would that be possible? If find that more readable.
}
} If you type " before a filename, it will be completed in double quotes
} and (when possible) another " added at the end. It's not possible to
} configure it to add a double quote in front only when needed.
I seem to recall writing a widget that would insert a quote, then do
completion, and then if nothing changed remove the quote again. Oh,
yes:
Functions/Zle/quote-and-complete-word
Search the zsh-users archives for "completion;quote" and you should
find a couple of threads from 2010 discussing this.
prev parent reply other threads:[~2011-10-24 16:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-22 17:25 Daniel
2011-10-23 16:39 ` Peter Stephenson
2011-10-24 16:40 ` Bart Schaefer [this message]
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=111024094011.ZM7194@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@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).