diff --git a/bootstrap.sh b/bootstrap.sh index 0cddbb6..d6b3145 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -128,9 +128,8 @@ reflector --country 'Germany' --sort rate --protocol https --save /etc/pacman.d/ printf "${PASSWD}\n${PASSWD}\n" | passwd root cd && curl -L https://g.phga.de/toerd/fresh/archive/master.tar.gz -o fresh.tar.gz && tar -xzf fresh.tar.gz -# basically a shitty one time job -echo '/root/fresh/fresh.sh' > .bashrc -chmod 700 .bashrc +# basically a shitty one time job, which does not work, seems like root does not source .bashrc +echo '/root/fresh/fresh.sh' > .bash_profile exit EOF diff --git a/fresh.sh b/fresh.sh index 70901a3..ebafc84 100755 --- a/fresh.sh +++ b/fresh.sh @@ -244,6 +244,7 @@ set_system_stuff() { } set_root_bashrc() { + echo ". /root/.bashrc" > /root/.bash_profile cat < /root/.bashrc # Fix for tramp connections [ $TERM = "dumb" ] && return