Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Truncate $functions
- X-seq: zsh-users 21304
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Truncate $functions
- Date: Tue, 16 Feb 2016 11:29:34 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=D08HFnsli1h/UKrsByKb+93Uj50CiPbm1R+V3rKOUIs=; b=bNi258WDKey+GvlB5zzX8ocIhbyL6zB/DHx0NHJtPMYhlyvGuDxrmBVJK14U+JSGvQ K3PO7ZieDiAlvlUBIkIAe5gKxGLiH2nRXoHKDNn6YblWNLdDLb2L/c6R86mfgU2o0Yl6 urnniP6lNR24Qpa2Z3K3ZV+Mz4pQGQJYF8Z30vDvfYOaJH7t/AVUojOIBGOtqQhcSZQj y6nGZtB01DgHbcoENC5HT6JihZZmvApQ33xnRosW5ECmMkGwEhbcUgkyF9j1el8k8iuG E7TPWCTLhhPBXPlzm15NFhme4n/DZrGAkfzp29WZCSPhpA8HaSelB+Hi+tmQOmF7Dz/c 3qRA==
- In-reply-to: <CAKc7PVDpzVoVh+jKRc-iL5Uqyd0PtFFv1i=mUun6_QpLNQ6ChA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVBFD0h6ovynoTCkBmR3Z+cfQv_bs2-AOfc_4sfDAwP7ow@mail.gmail.com> <160215091116.ZM27442@torch.brasslantern.com> <CAKc7PVAF9zYtWeyZJccet=-_Dbae3=WtkG-wLxjjX2Btt_VGdg@mail.gmail.com> <160215205153.ZM28963@torch.brasslantern.com> <CAKc7PVDpzVoVh+jKRc-iL5Uqyd0PtFFv1i=mUun6_QpLNQ6ChA@mail.gmail.com>
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