Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unfunction fix
- X-seq: zsh-workers 335
- From: Richard Coleman <coleman@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: unfunction fix
- Date: Mon, 21 Aug 1995 12:42:01 -0400
- In-reply-to: Your message of "Sun, 20 Aug 1995 01:48:38 +0200." <199508192348.BAA29860@xxxxxxxxxxxxxxxxx>
> unfunction was the same as unhash so far. This means that for example
> unfunction -m '*' removed everything from the command hash table not
> only the functions. The simple patch below fixes it. It adds a new -f
> optino to unhash, and unfunction is the same as unhash -f.
>
> When a function is removed unhash will check if there is a command in the
> path with the same name and if it finds one, it puts it into the hash table
> if the HASH_CMDS option is set.
In beta11, shell functions, buitlins, and external commands are in
separate hash tables, so this will no longer be a problem. I made
good progress on beta11 last week, so I will probably start making
test releases later in the week, with a real beta11 in about two weeks.
Richard Coleman
coleman@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author