mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix bash prompt for root #
This commit is contained in:
parent
0caf254473
commit
7c0725c26f
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue