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

Re: strange alias effects



Bart Schaefer wrote,

> Did you happen to compile your dot-files with zcompile?
No, never used that.
And the same dot-files worked perfectly with 3.1.6.pws21.

> It's the same problem as "Bart Schaefer's rule" in FAQ 2.3

Are you talking about this one?
> 4) If you have aliases that refer to each other (alias ls "ls -C";
>    alias lf "ls -F" ==> lf == ls -C -F) then you must either:
>
>       o  convert all of them to zsh functions; or
>       o  after converting, be sure your .zshrc defines all of your
>          aliases before it defines any of your functions.

Do I really have to separate aliases and functions?
I'd hate to do that, because I've got them nicely sorted by subjects in my
.zsh/alias.  :-(

Thanks,
 Andy.

-- 
 E-Mail: Andy@xxxxxxxxx     URL: http://andy.spiegl.de
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Love, not time, heals all wounds.



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