diff --git a/usr/lib/initcpio/install/archboot_base_common b/usr/lib/initcpio/install/archboot_base_common index 82a13f2bf..ed5585795 100644 --- a/usr/lib/initcpio/install/archboot_base_common +++ b/usr/lib/initcpio/install/archboot_base_common @@ -61,7 +61,7 @@ build () # shellcheck disable=SC2129 echo "passwd -S root | grep -q 'L' && passwd -d root >/dev/null" >> "$BUILDROOT/etc/bash.bashrc" # color output for bash prompt and ls - echo -e "PS1='[\e[1;31m\u\e[m@\e[1;32m\h\e[m \W]\$ '" >> "$BUILDROOT/etc/bash.bashrc" + echo -e "PS1='[\e[1;31m\u\e[m@\e[1;32m\h\e[m \W]\\$ '" >> "$BUILDROOT/etc/bash.bashrc" echo -e "alias ls='ls --color=auto'" >> "$BUILDROOT/etc/bash.bashrc" ### add kmod related config file(s) add_file "/usr/lib/depmod.d/search.conf"