fish-shell/fish-shell — pull request #1621 by kballard (2014-08-21 01:21:37+00:00)
Title: Make the `alias` built-in function work better

The new --wraps functionality was breaking aliases of the form
`alias foo='bar baz'`. That is, aliases where the body is multiple
words. Extract the first word of the body and use that instead.

Use better errors for aliases with no name or no body.