Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Thanks! I may have put the things together too carelessly but got a few errors _tags:comptags:60: nesting level too deep. Which I fixed by putting the creation of the _orig functions into an "only if backup not yet made" block: (( $+functions[_cmake_define_property_names_orig] )) || functions[_cmake_define_property_names_orig]=$functions[_cmake_define_property_names] Commented Jun 17, 2018 at 14:15
  • functions -c <old> <new> is a slightly more compact way to copy a function. Commented Apr 16, 2023 at 16:05
  • 1
    @ak2 Indeed, thanks (it didn't exist when I posted this answer). Commented Apr 16, 2023 at 19:28