Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: pushdcycle and pushdignoredups
- X-seq: zsh-workers 2323
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxx>,        zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: pushdcycle and pushdignoredups
- Date: Mon, 4 Nov 1996 10:19:15 -0800
- In-reply-to: Peter Stephenson <pws@xxxxxx>        "Re: pushdcycle and pushdignoredups" (Nov  4,  9:40am)
- References: <199611040840.JAA24808@xxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On Nov 4,  9:40am, Peter Stephenson wrote:
} Subject: Re: pushdcycle and pushdignoredups
}
} "Bart Schaefer" wrote:
} > (Aside #2:  Does anybody wish there were an equivalent of "localoptions"
} > that applied to functions and aliases, so that autoloads could blow away
} > all the possible screwy redefinitions of builtins from their environment,
} > yet have them magically restored when the function exits?)
} 
} Yes, particularly aliases (I can put with `command ls', but `command 'ls''
} is going too far)
When does that problem come up?  I can't seem to get it to happen to me,
unless I use "alias -g" in which case I'd *expect* it to happen.
zagzig[337] alias echo
zagzig[338] alias echo='echo x'
zagzig[339] echo
x
zagzig[340] command echo
zagzig[341] function blat() {
function> echo
function> }
zagzig[342] blat
x
zagzig[343] function blat() {
function> command echo
function> }
zagzig[344] blat
zagzig[345]
-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern
Messages sorted by:
Reverse Date,
Date,
Thread,
Author