zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Clemens Schuller <cs.mlists@mailbox.org>, zsh users <zsh-users@zsh.org>
Subject: Re: no tab completion with equo
Date: Tue, 16 Sep 2014 17:28:35 -0700	[thread overview]
Message-ID: <140916172835.ZM5518@torch.brasslantern.com> (raw)
In-Reply-To: <87a95zmt65.fsf@cougar.home.aneadesign.com>

On Sep 16,  6:22pm, Clemens Schuller wrote:
}
} >>     cmds=( ${(f)"$(equo --help |tr "\t" ":" | grep "^:[^:-]" | sed
} >> 's/^:\(\w*\).*:\+/\1:/')"} ) _describe -t commands 'equo command' cmds
} >
} > (there is no \t's anymore in equo output) ;)
} 
} When I completely cut out the tr part from the pipe, the error is the same.
} 
} Do you mean this or something else?

I think you need to run "equo --help" and look at it.  Removing the "tr"
just fails to convert anything into colons, so the grep|sed that follows
won't properly slice up the listing into the individual sub-commands.


  reply	other threads:[~2014-09-17  0:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15 18:13 Clemens Schüller
2014-09-16 13:01 ` Vadim A. Misbakh-Soloviov
2014-09-16 16:22   ` Clemens Schüller
2014-09-17  0:28     ` Bart Schaefer [this message]
2014-10-09  2:40       ` Clemens Schüller
2014-09-17  6:27     ` Vadim A. Misbakh-Soloviov
2014-10-09  2:43       ` Clemens Schüller

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=140916172835.ZM5518@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=cs.mlists@mailbox.org \
    --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).