zsh-users
 help / color / mirror / code / Atom feed
From: Timothy J Luoma <luomat+zsh+users@luomat.peak.org>
To: "Bart Schaefer" <schaefer@brasslantern.com>
Cc: zsh-users@math.gatech.edu
Subject: Re: zsh script wipes out my PROMPT and RPROMPT
Date: Sat, 24 Jan 98 17:29:12 -0500	[thread overview]
Message-ID: <199801242229.RAA27851@luomat.peak.org> (raw)
In-Reply-To: <980124141339.ZM23464@candle.brasslantern.com>

	Author:        "Bart Schaefer" <schaefer@brasslantern.com>
	Original-Date: Sat, 24 Jan 1998 14:13:39 -0800
	Message-ID:    <980124141339.ZM23464@candle.brasslantern.com>

> 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


  reply	other threads:[~1998-01-25 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-24 20:23 Timothy J Luoma
1998-01-24 22:13 ` Bart Schaefer
1998-01-24 22:29   ` Timothy J Luoma [this message]
1998-01-24 22:52     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199801242229.RAA27851@luomat.peak.org \
    --to=luomat+zsh+users@luomat.peak.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).