Hi Andrew! Andrew Tropin skribis: >> I found some things could be improved in how we deal with ‘PS1’ in >> Guix Home, Guix System, and ‘guix shell’ (my initial motivation was >> making it easy to change ‘PS1’ from a Home configuration). >> >> These patches fiddle with ‘PS1’. The most visible effect is that >> Guix Home’s ~/.bashrc will no longer provide a default ‘PS1’. >> >> Thoughts? > > Factorization of bashrc is great! > > Not sure about moving PS1 to /etc/bashrc as it won't work on foreign > distros and guix environment won't be noticable in the prompt. Warning > is useful, but I would expect prompt work OOB, when guix-defualts? is > #t. Yes, you’re right. > The possible alternative solution is to factorize bash_profile and put > PS1 here, so both skeleton and home provided bashrc have it, after that > setting PS1 with environment-variables field will start working. How about this: