Comment by πŸ™ norayr

Re: "PATH and dotfiles question"

In: s/OpenBSD

i guess ~/.profile sources /etc/profile, and that sets x11 related paths. that means - paths for an interactive shell.

so shell can be interactive, non-interactive, and it can be login shell, and non-login shell.

some files are only read and variables loaded from them, when the shell is login shell, or is interactive shell.

hope that helps at least in a direction to follow, but not sure.

πŸ™ norayr

2024-06-29 Β· 2 years ago

Original Post

πŸŒ’ s/OpenBSD

πŸ’€ requiem:

PATH and dotfiles question β€” Something keeps overwriting my PATH in .profile; or it’s simply not set. Cannot tell which. Any pointers? Relevant snippets: [preformatted]

πŸ’¬ 1 comment Β· 2024-06-26 Β· 2 years ago