Description of Problem: Defining an alias and a shell function with the same name and trying to execute it crashes ZSH shell. Version-Release number of selected component (if applicable): zsh-4.0.2-2 How Reproducible: always. Steps to Reproduce: [lxshare002d] /home/test > zsh [lxshare002d] ~ % alias xx='echo ALIAS' [lxshare002d] ~ % xx ALIAS [lxshare002d] ~ % xx() function> { echo FUNC } [lxshare002d] ~ % which xx xx: aliased to echo ALIAS [lxshare002d] ~ % xx Segmentation fault Actual Results: crash, backtrace looks rather recursive... Expected Results: either function or alias results, or at least an error message.. Additional Information:
A problem with 4.0.4.. reported upstream.
Not a bug, read http://zsh.sunsite.dk/FAQ/zshfaq02.html#23