Created
May 3, 2024 21:08
-
-
Save nivaca/6b2fe314c2f37f70d1a55ce68ce4d9f3 to your computer and use it in GitHub Desktop.
emacsdiff3.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$#" -lt 3 ] | |
then | |
echo "Needs three filenames as input." | |
exit 1 | |
fi | |
EMACS="/usr/bin/emacsclient" | |
eval "$EMACS -c -a 'emacs' --eval '(ediff3 \"$1\" \"$2\" \"$3\")'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment