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

Re: Accidental function definition - bug or feature?



On 10/22/2015 08:30 AM, Holger Hoffstätte wrote:

> So..bug or feature?
> 
> thanks,
> Holger
> 
defining multiple functions at once is a feature

mv cp() {
  $0 -v "$@"
}

or defining multiple TRAP functions to do the same thing are usual uses for it.



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