Ludovic Courtès <ludovic.cour...@inria.fr> skribis:

> Similar to <https://issues.guix.gnu.org/54469>, ‘home-bash-service-type’
> doesn’t quote environment variables.  For example, if you add this
> service:
>
> (define bash-fancy-prompt-service
>   (simple-service 'bash-fancy-prompt
>                   home-bash-service-type
>                   (home-bash-extension
>                    (environment-variables
>                     '(("PS1" . "\\u@\\h \\wλ "))))))
>
>
> … you end up with invalid shell code:
>
> $ tail -1 $(guix build 
> /gnu/store/maz98q1skyc7md2vknkg8ima3y2bq5yr-bash_profile.drv)
> export PS1=\u@\h \wλ 

Fixed in 8af749224fd69daee5b67295186c77becb1a4479.



Reply via email to