diff options
author | Tharre <tharre3@gmail.com> | 2015-04-06 17:04:40 +0000 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2016-10-07 19:43:04 +0000 |
commit | 46337908e3d3cd40f46a238efecd56eb9d2c5c9f (patch) | |
tree | 031a7e55e1130ffe85b2906bb150d9502fb9d8e7 /shell | |
parent | 5dc6f06e82afd13919ac5d50f8bf23453af5bce9 (diff) | |
download | dotfiles-46337908e3d3cd40f46a238efecd56eb9d2c5c9f.tar.gz dotfiles-46337908e3d3cd40f46a238efecd56eb9d2c5c9f.tar.xz dotfiles-46337908e3d3cd40f46a238efecd56eb9d2c5c9f.zip |
Zsh: only print TODO if file exists
Diffstat (limited to 'shell')
-rw-r--r-- | shell/_zshrc | 4 |
1 files changed, 3 insertions, 1 deletions
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 |