Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: no tab completion with equo
- X-seq: zsh-users 19223
- From: Clemens Schüller <cs.mlists+zsh-users@xxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: no tab completion with equo
- Date: Thu, 09 Oct 2014 04:40:38 +0200
- Cc: zsh users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :user-agent:message-id:in-reply-to:date:date:reply-to:references :subject:subject:from:from:received; s=mail20140220; t= 1412822440; bh=VtEdFjitPHC2TvuWMVcT7FilshjWd1mAWwML5XwqzAs=; b=X fGyAPgJMDZ82Ml7RLiYpwVLBEfeCI/zuVtEi1i3WuKDo2/ZNsV6hlNCRQOhIxHM+ RwTgrSfmR646JXyMZFLW++7d1AYJmMhOSQVRW0G7JH5kwwQDbyZWVsoP6DE/zgvP uqh/vgjBfCYrR+XxvRHGEzJSTjbmyrKeLS54xICocJglUEh+m7X9bt7DyrMn3ToF NamcoDrDZJ2y3EsJz49kJMESb39AGB9YZNSfOW63fw6LyGIb+pEUbRzaNYDycsPw l6hQZou8Eybw2EbALGtiZgHfbT5H7b+U377G8uJP/O7w3TJ3EFIuoMBsLLmj+g34 0MtAbNxEX3u2ChjEWVPwx/4kGSYpCCeWkRwTYsib/2u7uFJ7UZpVAur/Um6NUxeR BbmBfrvQXwanTQtIqrvAOOohRb7qxLoRuTtwK0YFcbOVRrjDnODFRndzKkjQph/J RNB7B59vHzb4eeGqxtLR6E2PYPfPNLEeOmyWDbzyl/BtlKk5QV3elL1uPNjNDXIf zPGSXb/oqD6wiTgMDWV3gOhE7KB9Lz0zqUND6Ym960CiuJgy+81mC3WENm6lUhwJ pdwJLRX9bMcHDpnmquYIoO6XxSK3HMThQJZR7kJyqEPly4HBlFgZ9mM9oysoyGOJ wpWX6QmrmzYaaoa3VBoIunPCw/bKEIIY8tkZBABht0=
- In-reply-to: <140916172835.ZM5518@torch.brasslantern.com> (Bart Schaefer's message of "Tue, 16 Sep 2014 17:28:35 -0700")
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <87vboon44t.fsf@cougar.home.aneadesign.com> <1936860.7jLd61Eyrh@note> <87a95zmt65.fsf@cougar.home.aneadesign.com> <140916172835.ZM5518@torch.brasslantern.com>
- Reply-to: Clemens Schüller <cs.mlists@xxxxxxxxxxx>
Hello!
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
> 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.
Sorry, but I am not familiar with shell coding.
I will wait, until the changes are applied in the _equo file ;-)
--
Best Regards, Clemens Schüller
Messages sorted by:
Reverse Date,
Date,
Thread,
Author