Permalink
Browse files

tasks.sh now looks for local files first

  • Loading branch information...
1 parent 9868569 commit 82e7bb39d81b5b3cfcbd1eb67a6a07d5076ae331 Philip Kamenarsky committed Feb 22, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 tasks.sh
View
@@ -1,5 +1,12 @@
#!/bin/bash
+localtask=`ls *.tasks 2> /dev/null | head -n 1`
+
+if [[ -n $localtask ]]; then
+ echo "{:file \"`pwd`/${localtask}\"}" > ~/.atea
+ exit
+fi
+
if [[ `pwd` =~ .*/(.*) ]]; then
home=`cd ~; pwd`
tdir="${home}/Dropbox/tasks"

0 comments on commit 82e7bb3

Please sign in to comment.