scripting with eshell

445 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

If you have emacsserver running, just try:

emacsclient --eval '(ediff-merge-files "FILE1" "FILE2" nil "NEWFILE")'