Something keeps overwriting my PATH in .profile; or itβs simply not set. Cannot tell which. Any pointers? Relevant snippets:
$ echo $PATH /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin $ . ~/.profile $ echo $PATH /home/ME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/home/ME/.local/bin:/home/ME/.cargo/bin: $ cat ~/. kshrc alias py='python3' $ cat ~/. xsession export LANG=en_US.UTF-8 export ENV=$HOME/.kshrc xrdb -merge $HOME/.Xresources xidle & exec $HOME/.fehbg & exec /us/local/bin/i3 $ cat ~/.Xresources No such file or directory
=> Posted in: s/OpenBSD | π requiem
2024-06-26 Β· 7 months ago
=> π norayr Β· 2024-06-29 at 23:15:
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.
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).