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

Re: strange alias effects



> > That would make sense to me, but I _do_ have the alias defined before
> > the function.  And since this was no problem until I upgraded to
> > 3.1.7-pre-4 I suspect I found a tiny bug???

> I cannot reproduce it. I tried to add the same lines
> 
> alias foo='echo xxx'
> bar() { foo }
These lines work for me, too.
But they probably have to, as the FAQ says:
   be sure your .zshrc defines all of your
   aliases before it defines any of your functions.

So the problem probably starts when there are more aliases after the
definition of bar.  I'll attach my (lengthy) .zsh/alias file.  Please try it.

> Well, unfortunately, to be able to reply to list I have to use "Reply to
> all" ... and manually removing recipients every time ...
> 
> It is exactly the reason I have procmail recipe that removes duplicates
> ;-0
That's one solution.  Using mutt is another. :-)

Thanks,
 Andy.

-- 
 E-Mail: Andy@xxxxxxxxx     URL: http://andy.spiegl.de
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 "security is an exercise in applied paranoia"       -- Unknown



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