On Thu, May 17, 2012 at 11:49 AM, SeH <
seh...@gmail.com> wrote:
> i was thinking of a command shell, or an extension to existing shell like
> BASH that analyzes your command history and automatically suggests macros
> that cover frequently used command patterns.
>
> for example, if i end up typing commands like:
>
> find | fgrep '.c'
> find | fgrep 'y'
>
>
> it would suggest or create a new macro:
>
> find_p_fgrep $x
>
>
> then allow me to rename it to a more convenient name like 'findit'
>
> this could also work across a network, pooling everyone's most frequently
> used commands to generate a dictionary of macros that everyone can benefit
> from.
That's an interesting idea. One problem might be ending up with more
macros than you can remember. Another approach might be auto-complete