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

Re: zsh script wipes out my PROMPT and RPROMPT



	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