bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67652: Guix home - bash alias declarations order


From: Christian Miller
Subject: bug#67652: Guix home - bash alias declarations order
Date: Wed, 06 Dec 2023 22:11:57 +0100

Hi,

I have the same issue since I started using Guix home.  Therefore I
did this:

--8<---------------cut here---------------start------------->8---
(service home-bash-service-type
         (home-bash-configuration
          (guix-defaults? #f)
          ;; Needs to be done since aliases are put on top and
          ;; would be overwritten by `guix-default`.
          (bashrc (list (plain-file "default-bashrc" %default-bashrc)))
          (aliases '(("ls" . "ls -lah --color")
                     ("grep" . "grep --color")))))
--8<---------------cut here---------------end--------------->8---

Disabling "guix-defaults" and now you aliases should be at the bottom
and work.
-- 
Christian Miller





reply via email to

[Prev in Thread] Current Thread [Next in Thread]