diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-11-14 13:16:58 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-11-14 13:16:58 +1300 |
commit | 8f14ade2671519f9134408d43d0f47c8e0ae5bd8 (patch) | |
tree | 3d3e7f691693b362c9a7b00cac6c701244ff5973 /bash | |
parent | Remove unnecessary null COMPREPLY assigns (diff) | |
download | dotfiles-8f14ade2671519f9134408d43d0f47c8e0ae5bd8.tar.gz dotfiles-8f14ade2671519f9134408d43d0f47c8e0ae5bd8.zip |
remind(1) wrapper for default filename
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/remind.bash | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bash/bashrc.d/remind.bash b/bash/bashrc.d/remind.bash new file mode 100644 index 00000000..88d094af --- /dev/null +++ b/bash/bashrc.d/remind.bash @@ -0,0 +1,9 @@ +# Default filename for remind(1) is ~/.reminders +remind() { + if ! (($#)) && [[ -r "$HOME"/.reminders ]] ; then + command remind "$HOME"/.reminders + else + command remind "$@" + fi +} + |