Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Re: PATCH: emulate (Re: Prompt fun)



On Oct 10, 11:03pm, Bart Schaefer wrote:
} Subject: PATCH: Re: PATCH: emulate (Re: Prompt fun)
}
} I'm persuaded that the rest of the changes were OK.

I was just going through making these same changes in 3.0.6, when I was
brought to a sudden halt by `promptsubst'.  It occurs to me that printing
the prompt can actually cause commands to be executed when `promptsubst'
is set, because of $(...) substitutions.  Depending on what those commands
do, that certainly could affect the behavior of a script.  I suppose it's
not a major issue, but I wanted to ask whether anyone else has an opinion
about it.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author