From c898406c3627f5584507d23bdbec28a38e3666a3 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 5 Jun 2024 17:36:44 +0300 Subject: [PATCH] {bash,zsh}rc: fit better to root motivational message by adding a newline --- rc/bashrc | 2 +- rc/zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index 10bb85d3..32581e5a 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -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 diff --git a/rc/zshrc b/rc/zshrc index 33bb58e9..98f464fb 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -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