]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
reminders.in: Fix minor typo in an example.
[config/dotfiles.git] / setup.sh
index 44074f0a0767732289e8e808e5cb1a53e2d075d1..5ade6bbf644fb8f52597692e582a15fd84102883 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -101,7 +101,7 @@ if terminal_available screen-256color; then
         # terminal_info check for manual installations which modify
         # rxvt-unicode's terminfo entry.
         urxvt_path=`which urxvt`
-        urxvt_grep=`strings "$urxvt_path" | grep '^TERM=rxvt-')`
+        urxvt_grep=`strings "$urxvt_path" | grep '^TERM=rxvt-'`
         if test x"$urxvt_grep" = 'xTERM=rxvt-unicode-256color' \
                 || terminal_info rxvt-unicode \
                     | grep -F 'colors#256' >/dev/null; then
@@ -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