zsh-users
 help / color / mirror / code / Atom feed
From: Hisham Muhammad <hisham@apple2.com>
To: zsh-users@sunsite.dk
Subject: How to make tab add quotes on expansion?
Date: Sat, 25 Oct 2003 01:00:12 -0200	[thread overview]
Message-ID: <200310250100.12757.hisham@apple2.com> (raw)

Hello zsh users and developers,

I am a developer of the GoboLinux distribution (http://www.gobolinux.org) 
which is, AFAIK, the only Linux distro where zsh is the default shell. I 
prepared a custom default zshrc, suited for the distro's needs (featuring 
case insensitive matching, because of our verbose names, such as 
/Programs/XFree86/Settings and other niceties) and all users seem to love 
it... zsh gets lots of praise in the GoboLinux mailing list!

There is one thing, however, that I could not find out how to configure:
I'd like to have tab-completion to add double quotes to words when the 
completed word has spaces in it (instead of having it add a backslash on each 
space). So that it would do this:

hisham@aria ~] mpg123 01<TAB>
hisham@aria ~] mpg123 "01 - Tom Sawyer.mp3"

instead of 

hisham@aria ~] mpg123 01<TAB>
hisham@aria ~] mpg123 01\ -\ Tom\ Sawyer.mp3

I know there's probably something simple I am missing, but I read the man 
pages, the FAQs and mailing list archives and haven't found out yet.

Thanks in advance,

-- 
Hisham Muhammad
"Embrace the change."


             reply	other threads:[~2003-10-25  3:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-25  3:00 Hisham Muhammad [this message]
2003-10-25 18:26 ` Bart Schaefer

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=200310250100.12757.hisham@apple2.com \
    --to=hisham@apple2.com \
    --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).