scripting with eshell

429 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 answers

0
Zsolt Botykai On BEST ANSWER

If you have emacsserver running, just try:

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