`guix home import` doesn't quote aliases properly

  • Open
  • quality assurance status badge
Details
One participant
  • Attila Lendvai
Owner
unassigned
Submitted by
Attila Lendvai
Severity
normal
A
A
Attila Lendvai wrote on 1 Apr 13:18 +0200
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
-fjyp6sHcs3Atk40lT6VlGjwyMWyNgtXQZ-LiDh04-ZXqAmUmME1Dbf8z215BPKe3SBFRZsLKfIpLofDLqsdrOs2Ru-Ud5kTn78TZR46ltI=@lendvai.name
as reported on #guix on 2024-04-01:


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:


--
• 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)
?