NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tweeking PS1



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


Home | Main Index | Thread Index | Old Index