Hallo Linuxgemeinde,
mein Getting Things Done System basiert auf einer todo.txt datei, welche ich bis jetzt mit Simpletask für Android verwalte.
Doch ich würde gerne das Terminal für größere Eingaben nutzen, nur bekomme ich die autovervollständigung mit todo.txt-cli nicht hin.
Ich hab mir den alias "t" für die "todo.sh" schon eingerichtet, mit der .bash_aliases Datei im Home Ordner.
Ich würde gerne mit der Tabulatortaste meine Einträghttps://github.com/ginatrapani/todo.txt-cli/wiki/Quick-Start-Guidee aber vervollständigen lassen.
Das hier findet sich in der [Dokumentation]:https://github.com/ginatrapani/todo.txt-cli/wiki/Quick-Start-Guide
4. (Optional, since v 2.9:) Install the Bash completion, either system-wide, for all users:
1
$ sudo cp todo_completion /etc/bash_completion.d/todoor put it somewhere in your home directory and source it from your .bashrc:
1
$ source todo_completionNow you can type $ ./todo.sh ad<Tab> and Bash will autocomplete the action to $ ./todo.sh add. Any words that begin with + or @ will be completed using projects or contexts, respectively. Task numbers will append the task text as a shell comment.
Note: If you define an alias (e.g. t) to todo.sh, you need to explicitly enable completion for it, too (also put this into your .bashrc):
1
$ complete -F _todo t
Allerdings weiß ich nicht, wie das gehen soll, wenn ich die todo_completion im Dropboxordner lassen will.
Wie "source" ich etwas in der .bashcr?