Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Truncate $functions
- X-seq: zsh-users 21298
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Truncate $functions
- Date: Mon, 15 Feb 2016 20:56:05 -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=TXJxRv7PAiG3gnX2LPnukPSCoS16vIeMfHrZTL+HCRc=; b=mROr3Jw+cXvBT3sinishpZs+MKvjYr0YYqqR6CrJBeVPhTyYxrIVgDc9EgY72KlXoh RVn4K60MWSOOFYuZULdm2q+/B3UiihwF4Zsq4LV9AsMM9dCfLF4XOOR3+Gh5RJ/BEsMG pgwoQdvv4fPqPPXwVJCFLy1oyoGzhJF15L6eJNT176BBeD20s6EemuscAhZZ3Q7NvHaB UCOX2l8bdTN5gjmMKUruKYpXjl+TCVUyVIWD5JnZ6OE0EP4xo6VgbPM6IKBmuuqUbQxb nJFXokVP0VrgHpR7q0FpByapYVqGbAvkUFHhNGS3tLYDMXcdEBfqgt39Uid3mdTWuIvl mYFQ==
- 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>
On Feb 15, 9:11am, Bart Schaefer wrote:
} Subject: Re: Truncate $functions
}
} 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.
I've just been prodding at this and "unset functions" removes the special
variable as expected -- to get it back I have to unload and reload the
zsh/parameter module.
Can you show an example of "unset functions" behaving differently?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author