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

zcompile does not expand aliases defined in the compiled script



I naively expected that `zcompile x && source x` has the same effect
as plain `source x` but apparently when using the former aliases
defined within `x` aren't expanded during the evaluation of `x`.

Is this expected behavior?

  % zsh -f
  % print 'alias x=:; x' >x
  % zcompile x
  % source x
  x:1: command not found: x

Roman.



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