From 71c32d51e7a82f2f5cfd47aafdf30337410631ff Mon Sep 17 00:00:00 2001 From: Marrub Date: Wed, 15 May 2019 01:14:35 -0400 Subject: [PATCH] zshrc: print random word on login --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 0fcd87d..2bf8516 100644 --- a/zshrc +++ b/zshrc @@ -23,3 +23,7 @@ alias ls='ls --color=auto' PROMPT='%#' RPROMPT='%2~' + +[[ -n $TMUX ]] && + echo "Word of the moment: $(shuf -n1 /usr/share/dict/words)" | + awk -f ~/src/scripts/mid.awk col=$COLUMNS