5

Is there a way to write .sh scripts to be used from eshell buffer? with eshell(elisp) specific commands?

I want ediff $1 $2 to be executed from my compare.sh from within eshell buffer.

Zsolt Botykai
  • 50,406
  • 14
  • 85
  • 110
egor7
  • 4,678
  • 7
  • 31
  • 55

1 Answers1

3

If you have emacsserver running, just try:

emacsclient --eval '(ediff-merge-files "FILE1" "FILE2" nil "NEWFILE")'
Zsolt Botykai
  • 50,406
  • 14
  • 85
  • 110