diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-10 10:41:09 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-10 10:41:09 +1300 |
commit | 6d0818b35abafbf6c6c1500753570b2dce188317 (patch) | |
tree | 80c65568005eee8bb25a1237e6eaeb049421b856 /sh/profile.d | |
parent | Add remind script (diff) | |
download | dotfiles-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/profile.d')
-rw-r--r-- | sh/profile.d/remind.sh | 2 |
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 |