3
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?

SamB
  • 9,039
  • 5
  • 49
  • 56

2 Answers2

2

Try:

git grep fizzbuzz ${git rev-list --all}
SamB
  • 9,039
  • 5
  • 49
  • 56
0

Works in my emacs if I wrap the $() with backtics, e.g.:

git grep fizzbuzz `$(git rev-list --all)`
rtn
  • 127,556
  • 20
  • 111
  • 121