GNU bug report logs - #67652
Guix home - bash alias declarations order

Previous Next

Package: guix;

Reported by: Atte Torri <atte.torri <at> universite-paris-saclay.fr>

Date: Tue, 5 Dec 2023 23:58:01 UTC

Severity: normal

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 67652 <at> debbugs.gnu.org (full text, mbox):

From: Christian Miller <christian.miller <at> dadoes.de>
To: 67652 <at> debbugs.gnu.org
Subject: 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




This bug report was last modified 1 year and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.