From 46337908e3d3cd40f46a238efecd56eb9d2c5c9f Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 6 Apr 2015 17:04:40 +0000 Subject: Zsh: only print TODO if file exists --- shell/_zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/_zshrc') diff --git a/shell/_zshrc b/shell/_zshrc index 1c03df1..8bddcf6 100644 --- a/shell/_zshrc +++ b/shell/_zshrc @@ -170,4 +170,6 @@ if type "archey" > /dev/null; then archey # nice system information and arch logo fi -cat ~/TODO +if [ -e "~/TODO" ]; then + cat ~/TODO +fi -- cgit v1.2.3-70-g09d2