Re: Tweeking the PS1 (in ksh)

RVP <[email protected]> Wed, 17 Jun 2026 07:03:11 +0000 (UTC)
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Tue, 16 Jun 2026, Todd Gruhn wrote:

> Is there a best way to reset PS1 and PS2 ?
>

You mean get the orig. settings back?

```
OPS1=$PS1		# save orig. PS1

PS1=...			# modify

PS1=$OPS1		# back to orig.
```

-RVP