Re: Tweeking PS1

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

> MMMM. .kshrc?
>
> That worked for root ...

Well, if you have both ~/.shrc and ~/.kshrc, then the easiest thing to do is
symlink ~/.shrc -> ~/.kshrc.

```
$ cd
$ mv .shrc .shrc.orig
$ ln -sv .kshrc .shrc
```

then read the file in ~/.kshrc as before.

If the file containing the prompt-setting'll be used by multiple users, then
move it out of the $HOME dirs. and into, say, /usr/local/etc/.

-RVP