Subject: bug#31765: 26.1; Can't define alias for git in eshell

From: Carlos Pita <[email-masked]>
Date: Sat, 9 Jun 2018 12:35:05 -0300

By trial & error I came to the conclusion that the "juxtaposition"
case is not valid anymore. The example in the documentation:

     > For example, ll is a common alias for ls -l, and would be defined
     > with the command invocation ‘alias ll ls -l’; with this defined,
     > running ‘ll foo’ in Eshell will actually run ‘ls -l foo’.

plainly fails, it doesn't list foo but the current directory, foo is
simply ignored. The correct way seems to be:

     alias ll 'ls -l $*'

which is not documented (not even in the draft guide [1]).

---

[1] https://www.gnu.org/software/emacs/draft/manual/html_node/eshell/Aliases.html#Aliases