summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-04-06 17:44:47 +0200
committerTharre <tharre3@gmail.com>2016-10-07 19:43:04 +0000
commit3689137ec608916b19362ecc190627f0d8a42761 (patch)
treed8cec585f25131f18177cbf8c47ab6b7d209e681
parent46337908e3d3cd40f46a238efecd56eb9d2c5c9f (diff)
downloaddotfiles-3689137ec608916b19362ecc190627f0d8a42761.tar.gz
dotfiles-3689137ec608916b19362ecc190627f0d8a42761.tar.xz
dotfiles-3689137ec608916b19362ecc190627f0d8a42761.zip
Fix if statement for printing ~/TODO
-rw-r--r--shell/_zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/_zshrc b/shell/_zshrc
index 8bddcf6..eb61903 100644
--- a/shell/_zshrc
+++ b/shell/_zshrc
@@ -170,6 +170,6 @@ if type "archey" > /dev/null; then
archey # nice system information and arch logo
fi
-if [ -e "~/TODO" ]; then
- cat ~/TODO
+if [ -e "$HOME/TODO" ]; then
+ cat "$HOME/TODO"
fi