et: call (todotxt-open-file) in emacs instead of opening file directly

This commit is contained in:
Adam Goldsmith 2018-03-12 11:47:26 -04:00
parent 556212827a
commit 0a3981c226
1 changed files with 2 additions and 1 deletions

3
et
View File

@ -3,4 +3,5 @@
[ "$1" = "usage" ] && echo " et" && echo " Edit the todo.txt file with emacsclient -t" && exit 0
shift
emacsclient -t "$TODO_DIR/todo.txt"
#emacsclient -t "$TODO_DIR/todo.txt"
emacsclient -ce '(todotxt-open-file)'