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

Aliases that ignore "noaliases"



There are some cases where it would be nice to be able to declare an
alias that "always works".  The most obvious recent example would be
  alias nameref='typeset -n'
but also some hackiness in zsh/param/private could be avoided with
  alias private='local -P'

This is important when the alias invokes a keyword rather than a builtin, e.g.
  function private { local -P "$@" }
doesn't parse its argument list the same way.  There are some other
instances where an internally-defined alias that (in particular)
survives "autoload -U" might be useful.

Any thoughts?




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