From ef935a136ba1790614e5074a0abe04767365a42f Mon Sep 17 00:00:00 2001 From: Daniel de Cloet Date: Wed, 11 May 2022 09:31:01 +0200 Subject: [PATCH] Allow for custom motd --- templates/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/zshrc b/templates/zshrc index 5e9c0ae..2bea500 100644 --- a/templates/zshrc +++ b/templates/zshrc @@ -226,4 +226,8 @@ if [ -f '/Users/daniel.de.cloet/google-cloud-sdk/path.zsh.inc' ]; then . '/Users if [ -f '/Users/daniel.de.cloet/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/daniel.de.cloet/google-cloud-sdk/completion.zsh.inc'; fi {%- endif %} +{%- if motd is defined %} +{{ motd }} +{%- else %} fortune -s +{%- endif %}