diff --git a/install2.sh b/install2.sh index 00f24ed..b7f956d 100755 --- a/install2.sh +++ b/install2.sh @@ -29,6 +29,8 @@ if [[ "$UID" -ne 0 ]]; then sudo -vp 'root privilege required: ' curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh | sudo bash echo DONE with root, now refresh bash login + source /etc/profile + source /etc/bash.bashrc exec bash -l else if [[ -d "$MIAOU_BASH_DIR" && -L /etc/inputrc && "$(readlink /etc/inputrc)" == "$MIAOU_BASH_DIR"/etc/inputrc ]]; then