Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh script wipes out my PROMPT and RPROMPT
- X-seq: zsh-users 1278
 
- From: Timothy J Luoma <luomat+zsh+users@xxxxxxxxxxxxxxx>
 
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
 
- Subject: Re: zsh script wipes out my PROMPT and RPROMPT
 
- Date: Sat, 24 Jan 98 17:29:12 -0500
 
- Cc: zsh-users@xxxxxxxxxxxxxxx
 
- In-reply-to: <980124141339.ZM23464@xxxxxxxxxxxxxxxxxxxxxxx>
 
- References: <199801242023.PAA25336@xxxxxxxxxxxxxxx>	<980124141339.ZM23464@xxxxxxxxxxxxxxxxxxxxxxx>
 
	Author:        "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
	Original-Date: Sat, 24 Jan 1998 14:13:39 -0800
	Message-ID:    <980124141339.ZM23464@xxxxxxxxxxxxxxxxxxxxxxx>
> If you run this as an actual script, it -shouldn't- be able to have any
> effect on your prompt at all, because it runs in a second shell.
It is run as an actual script
> If you run this as a shell function (e.g. by autoloading it), the "exit 0"
> at the end should kill the shell entirely.
Nope, it is its own script, chmod 755
> Another problem is that
>
> LINES=`wc -l $FILE | awk '{print $1}'`
AH... I used another variable instead.
The behavior seems to have stopped.... I'm not sure why.... but since it  
shouldn't have happened anyway....
TjL
Messages sorted by:
Reverse Date,
Date,
Thread,
Author