Do not automatically complete for guessed aliases.

Don't infringe against the principle of least astonishment (they user may have completely unrelated aliases). Rather, if the user sets up his own alias, make him apply the same to todo_completion.
This commit is contained in:
Ingo Karkat
2011-11-20 14:22:48 +01:00
parent 2b0921f4ec
commit 9b67a76833

View File

@@ -29,5 +29,4 @@ _todo()
complete -F _todo todo.sh
# If you define an alias (e.g. "t") to todo.sh, you need to explicitly enable
# completion for it, too:
complete -F _todo t
complete -F _todo todo
#complete -F _todo t