mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 08:06:24 +08:00

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.