From: Christian Miller via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 67652@debbugs.gnu.org
Subject: bug#67652: Guix home - bash alias declarations order
Date: Wed, 06 Dec 2023 22:11:57 +0100 [thread overview]
Message-ID: <87bkb3ox2a.fsf@dadoes.de> (raw)
In-Reply-To: <26318035.896827.1701791650006.JavaMail.zimbra@universite-paris-saclay.fr>
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
next prev parent reply other threads:[~2023-12-11 10:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 15:54 bug#67652: Guix home - bash alias declarations order Atte Torri via Bug reports for GNU Guix
2023-12-06 21:11 ` Christian Miller via Bug reports for GNU Guix [this message]
2024-02-22 4:10 ` bug#67652: [PATCH] * home/services/shells.scm (add-bash-configuration): reorder aliases (Bug#67652) Jason
2024-03-27 14:50 ` Hilton Chain via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkb3ox2a.fsf@dadoes.de \
--to=bug-guix@gnu.org \
--cc=67652@debbugs.gnu.org \
--cc=christian.miller@dadoes.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.