Skip to content

Commit

Permalink
add todo.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyoconnor committed Dec 15, 2014
1 parent b541231 commit 857d15a
Show file tree
Hide file tree
Showing 11 changed files with 105 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@
[submodule "emacs.d/evil-numbers"]
path = emacs.d/evil-numbers
url = git@github.com:cofi/evil-numbers.git
[submodule "dependencies/todo.txt-cli"]
path = dependencies/todo.txt-cli
url = git@github.com:ginatrapani/todo.txt-cli.git
[submodule "dependencies/todo.sh-commit"]
path = dependencies/todo.sh-commit
url = git@github.com:FND/todo.txt-cli.git
[submodule "dependencies/todo_distributed"]
path = dependencies/todo_distributed
url = git@github.com:crobinsonut/todo_distributed.git
5 changes: 4 additions & 1 deletion bashrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
export RCS_DIR=${HOME}/Development/RCs

if [[ -f ${HOME}/Development/RCs_private/rc_private ]] ; then
export RCS_PRIVATE_DIR=${HOME}/Development/RCs_private
source ${RCS_PRIVATE_DIR}/rc_private
fi
export PATH=${HOME}/bin:${HOME}/.cabal/bin:$PATH

export PATH=${HOME}/bin:${HOME}/.cabal/bin:$RCS_DIR/bin:$PATH

export GHC_HEAD=/home/coconnor/Development/ghc/inplace/bin/ghc-stage2

Expand Down
2 changes: 2 additions & 0 deletions bin/todo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec bash $RCS_DIR/dependencies/todo.txt-cli/todo.sh "$@"
1 change: 1 addition & 0 deletions dependencies/todo.sh-commit
Submodule todo.sh-commit added at f5b5b4
1 change: 1 addition & 0 deletions dependencies/todo.txt-cli
Submodule todo.txt-cli added at 837ce2
1 change: 1 addition & 0 deletions dependencies/todo_distributed
Submodule todo_distributed added at 62e1e6
1 change: 1 addition & 0 deletions todo.actions.d/commit
1 change: 1 addition & 0 deletions todo.actions.d/pull
1 change: 1 addition & 0 deletions todo.actions.d/push
1 change: 1 addition & 0 deletions todo.actions.d/sync
83 changes: 83 additions & 0 deletions todo.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# === EDIT FILE LOCATIONS BELOW ===

# Your todo.txt directory
export TODO_DIR="$HOME/todo"

# Your todo/done/report.txt locations
export TODO_FILE="$TODO_DIR/todo.txt"
export DONE_FILE="$TODO_DIR/done.txt"
export REPORT_FILE="$TODO_DIR/report.txt"

# You can customize your actions directory location
export TODO_ACTIONS_DIR="$HOME/Development/RCs/todo.actions.d"

# == EDIT FILE LOCATIONS ABOVE ===

# === COLOR MAP ===

## Text coloring and formatting is done by inserting ANSI escape codes.
## If you have re-mapped your color codes, or use the todo.txt
## output in another output system (like Conky), you may need to
## over-ride by uncommenting and editing these defaults.
## If you change any of these here, you also need to uncomment
## the defaults in the COLORS section below. Otherwise, todo.txt
## will still use the defaults!

# 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'

# === COLORS ===

## Uncomment and edit to override these defaults.
## Reference the constants from the color map above,
## or use $NONE to disable highlighting.
#
# Priorities can be any upper-case letter.
# A,B,C are highlighted; you can add coloring for more.
#
# 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_D=... # define your own
# export PRI_X=$WHITE # color unless explicitly defined

# There is highlighting for tasks that have been done,
# but haven't been archived yet.
#
# export COLOR_DONE=$LIGHT_GREY

# There is highlighting for projects and contexts.
#
# export COLOR_PROJECT=$RED
# export COLOR_CONTEXT=$RED

# === BEHAVIOR ===

## customize list output
#
# TODOTXT_SORT_COMMAND will filter after line numbers are
# inserted, but before colorization, and before hiding of
# priority, context, and project.
#
# export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -f -k2'

# TODOTXT_FINAL_FILTER will filter list output after colorization,
# priority hiding, context hiding, and project hiding. That is,
# just before the list output is displayed.
#
# export TODOTXT_FINAL_FILTER='cat'

0 comments on commit 857d15a

Please sign in to comment.