From 0d4f4c68323ee421288c4ade6cd3d5d602233be9 Mon Sep 17 00:00:00 2001 From: xatier Date: Thu, 16 Nov 2023 00:42:14 -0600 Subject: [PATCH] feat(bashrc): only allow Easter eggs enabled in urxvt --- bashrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 9a8bd7c..1bdc303 100644 --- a/bashrc +++ b/bashrc @@ -235,8 +235,10 @@ PS1+='-'$COLOR_PURPLE'[$(distro_name)] \$ '$COLOR_END # distrobution name # df check every day! #perl $HOME/bin/dfCheckEveryday.pl -cal -3 -#fortune +if [[ "$TERM" =~ "rxvt-256color" ]]; then + cal -3 + #fortune +fi # display return code of previous command ret_code() {