If I run it inside of shell (in .xinitrc) it fails.
PS1 is the borning black in a X window.
I use xdm to login.

Is there a right way to start this when I login??


mlelstv@ has already answered this here:

https://mail-index.netbsd.org/netbsd-users/2026/06/08/msg034316.html

You can also pull in the file in ~/.shrc:

```
[...]
case "$-" in *i*)
        # interactive mode settings go here
        test -r ~/lib/ps1.ksh && . ~/lib/ps1.ksh
        [...]
        ;;
esac
[...]
```

-RVP

Reply via email to