zsh-users
 help / color / mirror / code / Atom feed
From: Chris Johnson <cjohnson@cs.utk.edu>
To: zsh-users@sunsite.dk
Subject: Redirection Symbol After Completion
Date: Fri, 7 Jul 2006 13:32:13 -0400	[thread overview]
Message-ID: <20060707173213.GA22592@namib.cs.utk.edu> (raw)

Hi.  This is just a minor, cosmetic nuance of zsh that I'd like to
change, if possible.  When I complete a filename with

   cat fil<TAB>

the command line becomes "cat file.txt ".  A space is displayed after
the completed filename, though I didn't type it.  If I type another
argument, the space remains and separates the arguments.  However, if I
type a redirection character like & or |, the space is removed and I get

   cat file.txt|

I personally find commands easier to parse with my eye when the space
remains before the redirection symbol:

   cat file.txt |

Is there any way to force this space to persist even if I type a
redirection operator?  Thanks for any insight.

-- 
Chris Johnson
cjohnson@cs.utk.edu
http://www.cs.utk.edu/~cjohnson


             reply	other threads:[~2006-07-07 17:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 17:32 Chris Johnson [this message]
2006-07-08 11:44 ` Peter Stephenson
2006-07-08 17:56   ` Bart Schaefer
2006-07-08 21:44     ` Bart Schaefer
2006-07-10 14:12     ` Chris Johnson
2006-07-10 23:30       ` Scott Anderson
2006-07-10 23:43         ` Bart Schaefer
2006-07-10 23:53           ` Scott Anderson

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=20060707173213.GA22592@namib.cs.utk.edu \
    --to=cjohnson@cs.utk.edu \
    --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).