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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user