{bash,zsh}rc: fit better to root motivational message by adding a newline

This commit is contained in:
Aminda Suomalainen 2024-06-05 17:36:44 +03:00
parent e315c39a95
commit c898406c36
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ if [[ $(whoami) == aminda ]] || [[ $(whoami) == mikaela ]]; then
#(printf "https://en.m.wikipedia.org/wiki/First_they_came_...#Text\n")
elif [[ "$(id -u)" == "0" ]]; then
# This comes from Charybdis IRCd
(printf "\nWe would like to take this moment to remind you that we accept absolutely no liability for the insanity you're about to endure.\n\n")
(printf "\nWe would like to take this moment to remind you that we accept\nabsolutely no liability for the insanity you're about to endure.\n\n")
# And this from sudo + the general advice for auditability
(printf "We trust you have received the usual lecture from the local System\nAdministrator. It usually boils down to these three things:\n\n\t#1) Respect the privacy of others.\n\t#2) Think before you type.\n\t#3) With great power comes great responsibility.\n\nAdditionally you shouldn't be logging in as root directly.\n\n")
fi

View File

@ -128,7 +128,7 @@ if [[ $(whoami) == aminda ]] || [[ $(whoami) == mikaela ]]; then
#(printf "https://en.m.wikipedia.org/wiki/First_they_came_...#Text\n")
elif [[ "$(id -u)" == "0" ]]; then
# This comes from Charybdis IRCd
(printf "\nWe would like to take this moment to remind you that we accept absolutely no liability for the insanity you're about to endure.\n\n")
(printf "\nWe would like to take this moment to remind you that we accept\nabsolutely no liability for the insanity you're about to endure.\n\n")
# And this from sudo + the general advice for auditability
(printf "We trust you have received the usual lecture from the local System\nAdministrator. It usually boils down to these three things:\n\n\t#1) Respect the privacy of others.\n\t#2) Think before you type.\n\t#3) With great power comes great responsibility.\n\nAdditionally you shouldn't be logging in as root directly.\n\n")
fi