Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Truncate $functions
- X-seq: zsh-users 21295
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Truncate $functions
- Date: Mon, 15 Feb 2016 20:31:00 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=EheC0rimV8tf2jeFIFQwrU0lbWrFKEcd9fBd0HP3TNE=; b=Id+Fkyuthpo4Z5kVzWfa/mHWckPFtIM0nzb1gg8vjs36qhGgZfRwhJVZMsk7WIUJaV 3m9fDZ4H6XWYS2JEiRwlUKDdBjPethMIC1d+O6vFvDniicW42e1/uNQKjA/F5JrC1Yth /wvpdlaJwb+63Ymp8iXvc+Xq/s6fn+rwxI+YRWzBOlbLsStTQe7VfeCwYgZl3mZdJrLa 6f1Zr/IFDL4dLqtrrVg4dk6PJNjJdhuvEvYR5dKQPT5IW34CEFcUIBYjvxlThaVuIGC+ llCGX6fdwRl/W+e3UqVwktrePISDa7mzk7Gy+zlc4tLR071n6QVm+5FKYoEGQIBoxp7/ F97g==
- In-reply-to: <160215091116.ZM27442@torch.brasslantern.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>
Thank you, this works really well. Side note, unset functions[...] has
problems with entries like ops+[, but unfunction doesn't.
Best regards,
Sebastian Gniazdowski
On 15 February 2016 at 18:11, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Feb 15, 8:55am, Sebastian Gniazdowski wrote:
> }
> } tried functions=( a b ), set -A functions ( a b ), unset functions but
> } all don't truncate functions.
>
> The functions array is special, you can't muck with it that way. You need
>
> unfunction -m \*
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author