]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
reminders.in: Add remind template file.
[config/dotfiles.git] / setup.sh
index 39f706efe21fe016fbc3f5cfd5bbe5d92d60a424..5ade6bbf644fb8f52597692e582a15fd84102883 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -170,6 +170,12 @@ fi
 # Htop overwrites the comments in its configuration file.
 generate cat htoprc .in
 
+# Copy remindrc template if ~/.reminders doesn't exist yet.
+if installed remind && test ! -e "$HOME/.reminders"; then
+    echo remind: copying template to .reminders
+    cp reminders.in "$HOME/.reminders"
+fi
+
 # Link setup for shells.
 link shell ~/.shell
 link bash ~/.bash