Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: no tab completion with equo



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.



Messages sorted by: Reverse Date, Date, Thread, Author