These aliases seem to be common, see #7389 and others. This prevents recursion on that example, so `alias ssh "env TERM=screen ssh"` will just have the same completions as ssh. Checking the last token is a heuristic which hopefully works for most cases. Users are encouraged to use functions instead of aliases.