TL/DR: On Trixie with Gnome, right after login with…
- default .profile -> ~/bin and ~/.local/bin in PATH
- .profile as a symlink to the default .profile located in different
directory -> no ~/bin or ~/.local/bin in PATH

Why?


Hi,

I am running Trixie with Gnome and I am trying to manage my config and dot
files with GNU stow. So I have Setup/ repo (my stow directory) with a
shell/ package directory which contains my .bashrc and my .profile files.
The .profile is the same as in /etc/skel (default one).

When I stow the shell package in my $HOME, it creates a symlink ~/.profile
pointing to $HOME/Setup/shell/.profile.

The issue is that when I logout and log back in, my PATH does not contain
$HOME/bin and $HOME/.local/bin as it should.

It is as if the symlinked .profile wasn’t sourced.

default .profile file in ~ ~/bin and ~/.local/bin in PATH.
.profile as a symlink to origin
Question: is it by design? Eg only source a regular file .profile at login
(not symlink)


Thanks

B

Reply via email to