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

Re: Truncate $functions



On Feb 16,  9:05am, Sebastian Gniazdowski wrote:
} Subject: Re: Truncate $functions
}
} Looking at define's -f output I have:
} 
} _a2ps () {
}         # undefined
}         builtin autoload -XUz
} }
} _a2utils () {
}         # undefined
}         builtin autoload -XUz
} }
} _aap () {
}         # undefined
}         builtin autoload -XUz
} }
} 
} ...
} 
} So it looks like I can have the options by parsing functions body?

Yes, that would work.  In fact you should parse for the "# undefined"
line anyway, to identify the autoloads.



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