Search code examples
emacsexpansioneshell

command expansion: how to convince eshell I'm not trying to execute an elisp expression?


git grep fizzbuzz $(git rev-list --all)
fatal: Invalid object name 'Symbol's function definition is void'.

Of course, the same command in M-x shell works fine.

How do I convince eshell I'm not trying to execute an elisp expression here so I can get the git grep goodness I so clearly seek?


Solution

  • Try:

    git grep fizzbuzz ${git rev-list --all}