From 261ea5ebf59ef3b0863c1d0ae411b1bc136f1ff3 Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Tue, 17 Jan 2023 12:15:49 +0200 Subject: [PATCH] chore: update motd --- .zshrc | 2 +- aliases.sh | 5 +++++ synced/motd/motd | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index 1805dcbf..c4c3e282 100644 --- a/.zshrc +++ b/.zshrc @@ -12,4 +12,4 @@ for file in $DOTFILES/scripts/*; do [[ -f "$file" ]] && source $file done -if [[ -f /etc/motd ]]; then cat /etc/motd; fi +motd diff --git a/aliases.sh b/aliases.sh index 389ee83e..c32d0fd1 100755 --- a/aliases.sh +++ b/aliases.sh @@ -53,6 +53,11 @@ alias h="home" alias rh="rhome" alias spider="ssh root@spider.casraf.dev" +motd() { + if [[ -f /etc/motd.head ]]; then lolcat -f /etc/motd.head; fi + if [[ -f /etc/motd ]]; then cat /etc/motd; fi +} + docker-bash() { docker exec -ti $1 /bin/bash } diff --git a/synced/motd/motd b/synced/motd/motd index fafab7ba..4bc05a05 100644 --- a/synced/motd/motd +++ b/synced/motd/motd @@ -1,3 +1,2 @@ -TO DO: - - Empty +"There is never enough time to do all the nothing you want."