Dirk schriebGoogle auch noch sagen, wann ich was mache? Ne! Schau dir mal
Todo.txt an 🙂
Sehr interessant. Bloß scheitere ich an der Einrichtung...
Ich habe es aus dem AUR instaliert und getreu des Hinweises:
Please copy the file /usr/share/todotxt/todo.cfg to ~/.todo.cfg
and then edit the TODO_DIR path in that file to your desired todo data directory.
eine ~/.todo.cfg erstellt und den TODO_DIR path wie folgt angepasst:
export TODO_DIR="/home/orschiro/Dropbox/Apps/todotxttdi"
Das war die einzige Änderung. Innerhalb dieses Verzeichnisses liegt meine todo.txt:
[orschiro@thinkpad ~]$ ls Dropbox/Apps/todotxttdi/
total 4
-rw-r--r-- 1 orschiro users 24 Sep 20 08:24 todo.txt
Dann noch einen Alias in meiner .bashrc angelegt:
alias t='todo.sh -d /home/orschiro/.todo.cfg'
Doch warum sucht todo.txt nun unter /usr/bin nach der Todoliste?
[orschiro@thinkpad ~]$ t ls
cp: cannot create regular file ‘/usr/bin/todo.txt’: Permission denied
cp: cannot create regular file ‘/usr/bin/done.txt’: Permission denied
cp: cannot create regular file ‘/usr/bin/report.txt’: Permission denied
sed: can't read /usr/bin/todo.txt: No such file or directory
sed: can't read /usr/bin/todo.txt: No such file or directory
--
TODO: 0 of 0 tasks shown