Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Prompt being evaluated multiple times when prompt_subst is set.
- X-seq: zsh-users 12766
- From: "Caio Marcelo" <cmarcelo@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Prompt being evaluated multiple times when prompt_subst is set.
- Date: Wed, 9 Apr 2008 01:40:38 -0300
- Cc: ft@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=lN3JR5MZDNJ9YjQKwSEVYeDDB/olV5qDO8T7EHbYMQE=; b=lyBmmWnYDojw9kZSYW3pt6l7NBTOHIacR7oRn5y9uxWUIrcKpJy+s5JhJTczD2cDA4khWhTZ8zqn2emNVXvQ/blvGgoymWc0J7RE1dEmOIh2SmsEtTLVQfGXdJcnFjLPCnvJTUV4HDnokP6w8DDzcP0OsLVHoFOaE+hKk+2DMFI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hiW0PFDxSbpxkci6w0r2oOycOZSibNMKVz/YgSqgdIB035dX1IwoUDZn73hCk+5QVGycxDfB0ZTh8zPekCQtytcU1lwS39rB33/HXkwPU/YbcezGuexERx0s9/A4l0+6x8fPqj9CEeAVW9CZ5leosOLA/gfrF/PPBwBJir0UMCA=
- In-reply-to: <d280d7f10804082132tcda9182r6b018f25e1cf773a@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <d280d7f10804082132tcda9182r6b018f25e1cf773a@xxxxxxxxxxxxxx>
Sorry for the noise, just noticed that Frank Terbeck posted the same
problem in a recent thread "functions in prompts evaluated twice?".
What I can add is that the evaluation always happens three times here,
in his example the first one is for the old PROMPT, that doesn't call
"foo", so you just see two of them.
Cheers,
Caio Marcelo
Messages sorted by:
Reverse Date,
Date,
Thread,
Author