Comment by π norayr
Re: "PATH and dotfiles question"
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.
2024-06-29 Β· 2 years ago
Original Post
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]