GNU bug report logs - #70125
`guix home import` doesn't quote aliases properly

Previous Next

Package: guix;

Reported by: Attila Lendvai <attila <at> lendvai.name>

Date: Mon, 1 Apr 2024 11:19:02 UTC

Severity: normal

Full log


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

From: Attila Lendvai <attila <at> lendvai.name>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: `guix home import` doesn't quote aliases properly
Date: Mon, 01 Apr 2024 11:18:02 +0000
as reported on #guix on 2024-04-01:

https://logs.guix.gnu.org/guix/2024-04-01.log#121908

the following alias (a default in ubuntu) is not quoted properly:

notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"

which leads to an error when opening a new terminal after a `guix home reconfigure`.

a discussion of this alias:

https://askubuntu.com/questions/423646/use-of-default-alias-alert

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“What you do speaks so loud I cannot hear what you say.”
	— Ralph Waldo Emerson (1803–1882)





This bug report was last modified 260 days ago.

Previous Next


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