From ec468d62218e32df7586eb0b27286d951f99a547 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Sun, 3 Nov 2024 22:11:30 +0100 Subject: [PATCH] adds nice welcome log to show where you are logged in on --- bin/actions/term.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bin/actions/term.sh b/bin/actions/term.sh index 877c362..874a1fe 100755 --- a/bin/actions/term.sh +++ b/bin/actions/term.sh @@ -2,4 +2,19 @@ source $HOME/dotfiles/bin/helpers/functions.sh +welcome() { + echo + tput setaf 6 + printf "You're logged in on [" + printf $HOSTNAME | lolcat + tput setaf 6 + printf "] as " + printf "[" + printf $USER | lolcat + tput setaf 6 + printf "]\n" + tput sgr0 +} + logo continue +welcome