From 7b2c9f080a3cc59db8fad6e92478d9bfad30c90f Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Sun, 8 Mar 2009 12:08:04 -0400 Subject: [PATCH] Merged In Gina's Latest --- todo.cfg | 56 ++++++++++++++++++++++++++++---------------------------- todo.sh | 2 ++ 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/todo.cfg b/todo.cfg index 7e7c27f..b42cd09 100644 --- a/todo.cfg +++ b/todo.cfg @@ -1,41 +1,41 @@ # === EDIT FILE LOCATIONS BELOW === # Your todo.txt directory -#TODO_DIR="/Users/gina/Documents/todo" -TODO_DIR="C:/Documents and Settings/gina/My Documents" +#export TODO_DIR="/Users/gina/Documents/todo" +export TODO_DIR="C:/Documents and Settings/gina/My Documents" # Your todo/done/report.txt locations -TODO_FILE="$TODO_DIR/todo.txt" -DONE_FILE="$TODO_DIR/done.txt" -REPORT_FILE="$TODO_DIR/report.txt" -TMP_FILE="$TODO_DIR/todo.tmp" +export TODO_FILE="$TODO_DIR/todo.txt" +export DONE_FILE="$TODO_DIR/done.txt" +export REPORT_FILE="$TODO_DIR/report.txt" +export TMP_FILE="$TODO_DIR/todo.tmp" # == EDIT FILE LOCATIONS ABOVE === # === COLOR MAP === -NONE='' -BLACK='\\033[0;30m' -RED='\\033[0;31m' -GREEN='\\033[0;32m' -BROWN='\\033[0;33m' -BLUE='\\033[0;34m' -PURPLE='\\033[0;35m' -CYAN='\\033[0;36m' -LIGHT_GREY='\\033[0;37m' -DARK_GREY='\\033[1;30m' -LIGHT_RED='\\033[1;31m' -LIGHT_GREEN='\\033[1;32m' -YELLOW='\\033[1;33m' -LIGHT_BLUE='\\033[1;34m' -LIGHT_PURPLE='\\033[1;35m' -LIGHT_CYAN='\\033[1;36m' -WHITE='\\033[1;37m' -DEFAULT='\\033[0m' +export NONE='' +export BLACK='\\033[0;30m' +export RED='\\033[0;31m' +export GREEN='\\033[0;32m' +export BROWN='\\033[0;33m' +export BLUE='\\033[0;34m' +export PURPLE='\\033[0;35m' +export CYAN='\\033[0;36m' +export LIGHT_GREY='\\033[0;37m' +export DARK_GREY='\\033[1;30m' +export LIGHT_RED='\\033[1;31m' +export LIGHT_GREEN='\\033[1;32m' +export YELLOW='\\033[1;33m' +export LIGHT_BLUE='\\033[1;34m' +export LIGHT_PURPLE='\\033[1;35m' +export LIGHT_CYAN='\\033[1;36m' +export WHITE='\\033[1;37m' +export DEFAULT='\\033[0m' # === PRIORITY COLORS === -PRI_A=$YELLOW # color for A priority -PRI_B=$GREEN # color for B priority -PRI_C=$LIGHT_BLUE # color for C priority -PRI_X=$WHITE # color for rest of them +export PRI_A=$YELLOW # color for A priority +export PRI_B=$GREEN # color for B priority +export PRI_C=$LIGHT_BLUE # color for C priority +export PRI_X=$WHITE # color for rest of them diff --git a/todo.sh b/todo.sh index 016d280..035e8e3 100644 --- a/todo.sh +++ b/todo.sh @@ -204,6 +204,8 @@ PRESERVE_LINE_NUMBERS=1 AUTO_ARCHIVE=1 DATE_ON_ADD=0 +export VERBOSE PLAIN CFG_FILE FORCE PRESERVE_LINE_NUMBERS AUTO_ARCHIVE DATE_ON_ADD + while getopts ":fhpnatvV+@Pd:" Option do case $Option in