zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: Zsh not completing redirection anymore
Date: Tue, 7 Jan 2014 23:30:51 -0800	[thread overview]
Message-ID: <CAH+w=7Y3M4eGLksKSL-Av4Mz6UbByoPDoHP7G0uF+anhf42Yjg@mail.gmail.com> (raw)
In-Reply-To: <3544E54E-173B-43CA-9735-6A2A2BA9DB80@gmail.com>

On Tue, Jan 7, 2014 at 9:31 PM, Sohron Viholainen <lokki1977@gmail.com> wrote:
>
> I’m using zsh-templates-osx (https://code.google.com/p/zsh-templates-osx/) with vi- and zshall keybindings, but haven’t changed anything in it lately.

Nevertheless I think this must be where the problem lies.  I'm not
going to pretend to have time or interest in poring over that, but I
don't find anything in your pastebin'd .zshrc that is the culprit.

> For some reason redirection like, say `echo foo > file<TAB>’ or `echo foo >> file<TAB>’ doesn’t complete to file.txt or anything existing

Use <ctrl+x h> and <ctrl+x ?> (_complete_help and _complete_debug) to
see if anything looks odd.  <ctrl+x h> should give you something very
much like:

tags in context :completion::complete:-redirect-,>,echo::
    all-files  (_files _redirect)

Output from <ctrl+x ?> goes to a file and can be difficult to
interpret.  If completion after just "echo" (without redirection) is
still working, capture one debug file that way and a second one with
the redirect so the two can be compared.


  reply	other threads:[~2014-01-08  7:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  5:31 Sohron Viholainen
2014-01-08  7:30 ` Bart Schaefer [this message]
2014-01-08  8:56   ` Sohron Viholainen
2014-01-09  1:19     ` 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='CAH+w=7Y3M4eGLksKSL-Av4Mz6UbByoPDoHP7G0uF+anhf42Yjg@mail.gmail.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).