From 771a6dd51563244ddf1d6720b9b7440a5e9c5f0c Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 6 Sep 2011 12:06:33 -0400 Subject: run-mailcheck needs zsh --- SUBSTS | 3 +++ bin/run-mailcheck | 2 +- dm | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SUBSTS b/SUBSTS index 9c03a27..5381cea 100644 --- a/SUBSTS +++ b/SUBSTS @@ -45,3 +45,6 @@ MUTT_10_SCORE \\"(eve@foo.org)\\" # redshift mode to use (xrandr or vidmode) REDSHIFT_MODE vidmode + +# Grep path +GREP_PATH /bin/grep diff --git a/bin/run-mailcheck b/bin/run-mailcheck index 9859570..13798d4 100755 --- a/bin/run-mailcheck +++ b/bin/run-mailcheck @@ -1,4 +1,4 @@ -#!/bin/sh +#!ZSH_PATH MAIL=`mailcheck` GMAIL=`echo $MAIL | /bin/grep -v QueensU` QUEENSU=`echo $MAIL | /bin/grep QueensU` diff --git a/dm b/dm index cfb18e2..a7137ef 100755 --- a/dm +++ b/dm @@ -18,6 +18,7 @@ LOCAL_FILES = \ .xmonad/xmonad.hs \ .zsh/func/prompt_wunjo_setup \ .zshrc \ + bin/run-mailcheck # Files that are system independent. # IMPORTANT: directories must have trailing slash @@ -74,6 +75,7 @@ VARS_.xinitrc = SCREENLAYOUT VARS_.xmonad/xmonad.hs = XMONAD_DZEN_W XMONAD_DZEN_X XMONAD_DZEN_Y VARS_.zsh/func/prompt_wunjo_setup = ZSH_HOST_COLOUR VARS_.zshrc = LOCALE SUBSTS_RM SUBSTS_LS MSMTP_PATH +VARS_bin/run-mailcheck = ZSH_PATH GREP_PATH all: clean build -- cgit v1.2.3