My home folder (
$HOME) points to
/home/user , how do I change this directory?
But this only works until I start a new shell.
I also tried looking for definitions in
/etc/profile.d/ but I didn't find
HOME defined anywhere.
I also looked here, but I'm not interested in moving it to a separate partition, I merely would like to change the directory it points to.