aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-10 10:41:09 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-10 10:41:09 +1300
commit6d0818b35abafbf6c6c1500753570b2dce188317 (patch)
tree80c65568005eee8bb25a1237e6eaeb049421b856 /sh
parentAdd remind script (diff)
downloaddotfiles-6d0818b35abafbf6c6c1500753570b2dce188317.tar.gz
dotfiles-6d0818b35abafbf6c6c1500753570b2dce188317.zip
No longer need to strip newlines from reminders
Turns out ending a reminder line with % prevents it adding a newline, so I don't need sed(1) to do that now
Diffstat (limited to 'sh')
-rw-r--r--sh/profile.d/remind.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/remind.sh b/sh/profile.d/remind.sh
index bb7dabeb..1c92b584 100644
--- a/sh/profile.d/remind.sh
+++ b/sh/profile.d/remind.sh
@@ -1,6 +1,6 @@
# Show reminders on login
if command -v remind >/dev/null 2>&1 && [ -f "$HOME"/.reminders ] ; then
printf '\n'
- remind "$HOME"/.reminders | sed /^$/d
+ remind "$HOME"/.reminders
fi