Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: PATCH: emulate (Re: Prompt fun)
- X-seq: zsh-workers 8200
- From: Zefram <zefram@xxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxxxxxxxxx (Bart Schaefer)
- Subject: Re: PATCH: Re: PATCH: emulate (Re: Prompt fun)
- Date: Mon, 11 Oct 1999 09:20:49 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <991010231931.ZM5336@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Oct 10, 1999 11:19:31 pm"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> 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.
It's up to the user. The user sets the prompt, and if the user wants
to execute commands when printing the prompt then so be it. Of course,
executing commands that have side effects would be a bad idea.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author